Show / Hide Table of Contents

Enum Form

Enum Form represents a JSON Type Definition schema form.

Namespace: Jtd.Jtd
Assembly: Jtd.Jtd.dll
Syntax
public enum Form : int
Remarks

All correct JSON Type Definition schemas take on a particular "form", which is essentially a particular combination of keywords. Each member of Form represents one of the forms a schema may take on.

Fields

Name Description
Discriminator

The discriminator form. The discriminator and mapping keywords are used.

Elements

The elements form. The elements keyword is used.

Empty

The empty form. Only the keywords shared by all schema forms (metadata and nullable) may be used.

Enum

The enum form. The enum keyword is used.

Properties

The properties form. The additionalProperties keyword, and one or both of properties and optionalProperties are used.

Ref

The ref form. The ref keyword is used.

Type

The type form. The type keyword is used.

Values

The values form. The values keyword is used.

See Also
Form()
  • Improve this Doc
  • View Source
Back to top Generated by DocFX