Files
effect/migration/annotations/effect__JSONSchema.yaml
T
2026-07-27 15:13:57 +12:00

72 lines
4.0 KiB
YAML

"effect/JSONSchema#fromAST":
replacement: "Schema.toJsonSchemaDocument"
note: "Wrap a low-level AST with Schema.make, then generate a document; v4 generation targets draft 2020-12."
example: "Schema.toJsonSchemaDocument(Schema.make(ast))"
"effect/JSONSchema#JsonSchema7":
replacement: "JsonSchema.JsonSchema"
note: "The draft-07-specific union was replaced by the dialect-neutral JSON Schema model."
"effect/JSONSchema#JsonSchema7Any":
replacement: "JsonSchema.JsonSchema"
note: "Individual draft-07 node interfaces were consolidated into JsonSchema.JsonSchema."
"effect/JSONSchema#JsonSchema7AnyOf":
replacement: "JsonSchema.JsonSchema"
note: "Individual draft-07 node interfaces were consolidated into JsonSchema.JsonSchema."
"effect/JSONSchema#JsonSchema7Array":
replacement: "JsonSchema.JsonSchema"
note: "Individual draft-07 node interfaces were consolidated into JsonSchema.JsonSchema."
"effect/JSONSchema#JsonSchema7Boolean":
replacement: "JsonSchema.JsonSchema"
note: "Individual draft-07 node interfaces were consolidated into JsonSchema.JsonSchema."
"effect/JSONSchema#JsonSchema7empty":
replacement: "JsonSchema.JsonSchema"
note: "Individual draft-07 node interfaces were consolidated into JsonSchema.JsonSchema."
"effect/JSONSchema#JsonSchema7Enum":
replacement: "JsonSchema.JsonSchema"
note: "Individual draft-07 node interfaces were consolidated into JsonSchema.JsonSchema."
"effect/JSONSchema#JsonSchema7Enums":
replacement: "JsonSchema.JsonSchema"
note: "Individual draft-07 node interfaces were consolidated into JsonSchema.JsonSchema."
"effect/JSONSchema#JsonSchema7Integer":
replacement: "JsonSchema.JsonSchema"
note: "Individual draft-07 node interfaces were consolidated into JsonSchema.JsonSchema."
"effect/JSONSchema#JsonSchema7Never":
replacement: "JsonSchema.JsonSchema"
note: "Individual draft-07 node interfaces were consolidated into JsonSchema.JsonSchema."
"effect/JSONSchema#JsonSchema7Null":
replacement: "JsonSchema.JsonSchema"
note: "Individual draft-07 node interfaces were consolidated into JsonSchema.JsonSchema."
"effect/JSONSchema#JsonSchema7Number":
replacement: "JsonSchema.JsonSchema"
note: "Individual draft-07 node interfaces were consolidated into JsonSchema.JsonSchema."
"effect/JSONSchema#JsonSchema7Numeric":
replacement: "JsonSchema.JsonSchema"
note: "Individual draft-07 node interfaces were consolidated into JsonSchema.JsonSchema."
"effect/JSONSchema#JsonSchema7object":
replacement: "JsonSchema.JsonSchema"
note: "Individual draft-07 node interfaces were consolidated into JsonSchema.JsonSchema."
"effect/JSONSchema#JsonSchema7Object":
replacement: "JsonSchema.JsonSchema"
note: "Individual draft-07 node interfaces were consolidated into JsonSchema.JsonSchema."
"effect/JSONSchema#JsonSchema7Ref":
replacement: "JsonSchema.JsonSchema"
note: "Individual draft-07 node interfaces were consolidated into JsonSchema.JsonSchema."
"effect/JSONSchema#JsonSchema7String":
replacement: "JsonSchema.JsonSchema"
note: "Individual draft-07 node interfaces were consolidated into JsonSchema.JsonSchema."
"effect/JSONSchema#JsonSchema7Unknown":
replacement: "JsonSchema.JsonSchema"
note: "Individual draft-07 node interfaces were consolidated into JsonSchema.JsonSchema."
"effect/JSONSchema#JsonSchema7Void":
replacement: "JsonSchema.JsonSchema"
note: "Individual draft-07 node interfaces were consolidated into JsonSchema.JsonSchema."
"effect/JSONSchema#JsonSchema7Root":
replacement: "JsonSchema.Document<\"draft-07\">"
note: "Use a typed JSON Schema document for a draft-07 root and definitions."
"effect/JSONSchema#JsonSchemaAnnotations":
replacement: "Schema.Annotations.Documentation"
note: "Schema metadata now uses string-keyed Schema annotations; JSON Schema-specific checks use toJsonSchema annotations."
"effect/JSONSchema#make":
replacement: "Schema.toJsonSchemaDocument"
note: "Generate draft 2020-12, then call JsonSchema.toDocumentDraft07 when draft-07 output is required."
example: "JsonSchema.toDocumentDraft07(Schema.toJsonSchemaDocument(schema))"