{"record":{"id":"e825ec2efe3fef4c","repo":"deepseek-ai/deepseek-harness","slug":"unsupported-schema-e825ec","errorCode":"UNSUPPORTED_SCHEMA","errorMessage":"unsupported JSON schema: ${violations.join('; ')}","messagePattern":"unsupported JSON schema: (.+?)","errorType":"error_code","errorClass":"JsonSchemaError","httpStatus":null,"severity":"error","filePath":"packages/core/tools/src/schema.ts","lineNumber":181,"sourceCode":"                : S extends { type: 'json' } ? JsonValue :\n                  S extends { oneOf: readonly unknown[] }\n                    ? InferValueAt<S['oneOf'][number], NextInferenceDepth<Depth>>\n                    : never\n\n/**\n * Infer the TypeScript value accepted by an author-facing value schema. Exact\n * inference is bounded to 16 container levels, then falls back to `JsonValue`.\n */\nexport type InferValue<S> = InferValueAt<S, []>\n\n/** Infer the TypeScript argument object for an implicit parameter schema. */\nexport type InferArgs<S> = InferProperties<S, []>\n\nconst ANNOTATION_KEYS = ['description', 'title', 'default', 'examples'] as const\n\n/** Throw one author-schema violation through the shared schema error type. */\nfunction authorError(message: string): never {\n  throw new JsonSchemaError([message])\n}\n\n/** Copy own annotation fields for validation by the raw-schema boundary. */\nfunction copyAnnotations(source: Record<string, unknown>, target: JsonSchemaNode): void {\n  if (Object.hasOwn(source, 'description')) target.description = source.description as string\n  if (Object.hasOwn(source, 'title')) target.title = source.title as string\n  if (Object.hasOwn(source, 'default')) target.default = source.default as JsonValue\n  if (Object.hasOwn(source, 'examples')) target.examples = source.examples as JsonValue\n}\n\n/** Reject author-only keys outside one node's declared vocabulary. */\nfunction assertAuthorKeys(source: Record<string, unknown>, path: string, allowed: readonly string[]): void {\n  for (const key of Object.keys(source)) {\n    if (!allowed.includes(key)) authorError(`${path}.${key} is not supported by the value schema DSL`)\n  }\n}\n\n/** Compiled form of one implicit property map. */","sourceCodeStart":163,"sourceCodeEnd":199,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/packages/core/tools/src/schema.ts#L163-L199","documentation":"Error \"unsupported JSON schema: ${violations.join('; ')}\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at packages/core/tools/src/schema.ts:181 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b150a551b8d465e31e418e1b2eaf5e79bbb7d28e","analyzedAt":"2026-08-24T18:12:29.105Z","schemaVersion":2},"datasetVersion":"2026-08-24T22:17:12.610Z"}