Interface UcFormatPresentations<T, TSchema>

Schema constraints for presentations of schema instances used as top-level formats.

Each property corresponds to particular format presentation.

More presentations may be added by augmenting this interface.

Type Parameters

  • out T = unknown

    Implied data type.

  • out TSchema extends UcSchema<T> = UcSchema<T>

    Supported schema type.

Hierarchy

  • UcFormatPresentations

Properties

charge?: UcConstraints<T, TSchema>

Constraints for schema instance represented in URI Charge Notation.

json?: UcConstraints<T, TSchema>

Constraints for schema instance represented as JSON.

plainText?: UcConstraints<T, TSchema>

Constraints for schema instance represented as plain text.

uriEncoded?: UcConstraints<T, TSchema>

Constraints for schema instance represented as URI-encoded value.

uriParams?: UcConstraints<T, TSchema>

Constraints for schema instance represented as & or ; - separated URI parameters.

This works for e.g.:

Generated using TypeDoc