You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/overview/overview.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
<h1>TypeBox</h1>
2
-
<p>A Runtime Type System for JavaScript</p>
2
+
<p>Json Schema Type Builder with Static Type Resolution for TypeScript</p>
3
3
<h2>Overview</h2>
4
4
<p>TypeBox is a runtime type system that creates in-memory Json Schema objects that infer as TypeScript types. The schematics produced by this library are designed to match the static type checking rules of the TypeScript compiler. TypeBox offers a unified type system that can be statically checked by TypeScript and validated at runtime using standard Json Schema.</p>
5
5
<p>This library is designed to allow Json Schema to compose similar to how types compose within TypeScript's type system. It can be used as a simple tool to build up complex schematics or integrated into REST and RPC services to help validate data received over the wire.</p>
Copy file name to clipboardExpand all lines: docs/docs/script/overview.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
<h1>Script</h1>
2
-
<p>A TypeScript Engine for JavaScript</p>
2
+
<p>TypeScript Runtime Scripting Engine</p>
3
3
<h2>Overview</h2>
4
4
<p>TypeBox can translate TypeScript syntax into Json Schema. The Script function is a fully type-safe, syntactic frontend to the TypeBox type builder API, allowing Json Schema to be constructed and mapped using TypeScript type expressions encoded as strings.</p>
Copy file name to clipboardExpand all lines: docs/docs/type/overview.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
<h1>Type</h1>
2
-
<p>A Json Schema Type Builder with Static Inference for TypeScript</p>
2
+
<p>Json Schema Type Builder with Static Type Resolution for TypeScript</p>
3
3
<h2>Overview</h2>
4
4
<p>TypeBox includes many functions to create Json Schema types. Each function returns a small Json Schema fragment that corresponds to a TypeScript type. TypeBox uses function composition to combine schema fragments into more complex types. It provides a set of functions that are used to model Json Schema schematics as well as a set of functions that model constructs native to JavaScript and TypeScript.</p>
Copy file name to clipboardExpand all lines: docs/docs/value/overview.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
<h1>Value</h1>
2
-
<p>Functions to Process JavaScript Values</p>
2
+
<p>Check, Decode and Parse JavaScript Values</p>
3
3
<h2>Overview</h2>
4
4
<p>The TypeBox Value module provides functions to Check and Parse JavaScript values. It also includes functions such as Clone, Repair, Encode, Decode, Diff and Patch which perform various structural operations on JavaScript values.</p>
5
5
<p>The Value module is available via optional import.</p>
This example is an adapter to the Standard Schema V1 specification.
3
+
This is a reference adapter for the Standard Schema V1 specification. The adapter enables Json Schema and TypeBox schematics to be mapped into a StandardSchemaV1 interface.
4
+
5
+
### Json Schema
6
+
7
+
Json Schema can be passed to the StandardSchemaV1 function.
0 commit comments