Skip to main content

Interface: DefaultParameter

Extends

  • JsonSchema

Properties

$comment?

optional $comment: string

Comment string.

Inherited from

JsonSchema.$comment

Source

JsonSchema.ts:25


$defs?

optional $defs: object

Object definitions.

Inherited from

JsonSchema.$defs

Source

JsonSchema.ts:23


$ref?

optional $ref: string

Reference to object definitions.

Inherited from

JsonSchema.$ref

Source

JsonSchema.ts:21


$schema?

optional $schema: string

Dialect of JSON Schema.

Inherited from

JsonSchema.$schema

Source

JsonSchema.ts:27


default

default: any

Default value for the game parameter.

Overrides

JsonSchema.default

Source

GameParameters.ts:17


description?

optional description: string

Description of the schema.

Inherited from

JsonSchema.description

Source

JsonSchema.ts:11


enum?

optional enum: unknown[]

Values the schema can have.

Inherited from

JsonSchema.enum

Source

JsonSchema.ts:5


format?

optional format: string

Annotation to indicate the type of string value, e.g., "date-time" or "email".

Inherited from

JsonSchema.format

Source

JsonSchema.ts:7


items?

optional items: JsonSchema

If the value is an array, the array items in JsonSchema.

Inherited from

JsonSchema.items

Source

JsonSchema.ts:17


properties?

optional properties: object

If the value is an object, the properties in JsonSchema.

Index signature

[key: string]: JsonSchema

Inherited from

JsonSchema.properties

Source

JsonSchema.ts:13


required?

optional required: string[]

Required properties.

Inherited from

JsonSchema.required

Source

JsonSchema.ts:19


title?

optional title: string

Intent of the schema.

Inherited from

JsonSchema.title

Source

JsonSchema.ts:9


type?

optional type: JsonSchemaDataType | JsonSchemaDataType[]

Data type of the value or array of acceptable data types.

Inherited from

JsonSchema.type

Source

JsonSchema.ts:3