sailfork / t3code-github / .repos/ effect/ packages/ tools/ bundle/ fixtures/ schema-fromJsonSchemaDocument.ts

import * as SchemaRepresentation from "effect/SchemaRepresentation"

export const schema = SchemaRepresentation.fromJsonSchemaDocument({
  "dialect": "draft-2020-12",
  "schema": {
    "type": "object",
    "properties": {
      "a": {
        "type": "string"
      }
    }
  },
  "definitions": {}
})