JsonFormatTypes
@tsed/schema
Usage
typescript
import { JsonFormatTypes } from "@tsed/schema";
See /packages/specs/schema/src/types/domain/JsonFormatTypes.ts.
Overview
ts
enum JsonFormatTypes {
DATE_TIME = "date-time",
DATE = "date",
TIME = "time",
EMAIL = "email",
HOSTNAME = "hostname",
IPV4 = "ipv4",
IPV6 = "ipv6",
URI = "uri",
URL = "url",
URI_REF = "uri-reference",
URI_TEMPLATE = "uri-template",
JSON_POINTER = "json-pointer",
RELATIVE_JSON_POINTER = "relative-json-pointer",
UUID = "uuid",
REGEX = "regex"
}
DATE_TIME
ts
DATE_TIME = "date-time",
DATE
ts
DATE = "date",
TIME
ts
TIME = "time",
EMAIL
ts
EMAIL = "email",
HOSTNAME
ts
HOSTNAME = "hostname",
IPV4
ts
IPV4 = "ipv4",
IPV6
ts
IPV6 = "ipv6",
URI
ts
URI = "uri",
URL
ts
URL = "url",
URI_REF
ts
URI_REF = "uri-reference",
URI_TEMPLATE
ts
URI_TEMPLATE = "uri-template",
JSON_POINTER
ts
JSON_POINTER = "json-pointer",
RELATIVE_JSON_POINTER
ts
RELATIVE_JSON_POINTER = "relative-json-pointer",
UUID
ts
UUID = "uuid",
REGEX
ts
REGEX = "regex"