Skip to main content

Interface: DefaultParameter

Extends​

  • JsonSchema

Properties​

$comment?​

optional $comment: string

Comment string.

Inherited from​

JsonSchema.$comment

Defined in​

m2c2kit/packages/core/src/JsonSchema.ts:25


$defs?​

optional $defs: object

Object definitions.

Inherited from​

JsonSchema.$defs

Defined in​

m2c2kit/packages/core/src/JsonSchema.ts:23


$ref?​

optional $ref: string

Reference to object definitions.

Inherited from​

JsonSchema.$ref

Defined in​

m2c2kit/packages/core/src/JsonSchema.ts:21


$schema?​

optional $schema: string

Dialect of JSON Schema.

Inherited from​

JsonSchema.$schema

Defined in​

m2c2kit/packages/core/src/JsonSchema.ts:27


default​

default: any

Default value for the game parameter.

Overrides​

JsonSchema.default

Defined in​

m2c2kit/packages/core/src/GameParameters.ts:17


description?​

optional description: string

Description of the schema.

Inherited from​

JsonSchema.description

Defined in​

m2c2kit/packages/core/src/JsonSchema.ts:11


enum?​

optional enum: unknown[]

Values the schema can have.

Inherited from​

JsonSchema.enum

Defined in​

m2c2kit/packages/core/src/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

Defined in​

m2c2kit/packages/core/src/JsonSchema.ts:7


items?​

optional items: JsonSchema

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

Inherited from​

JsonSchema.items

Defined in​

m2c2kit/packages/core/src/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

Defined in​

m2c2kit/packages/core/src/JsonSchema.ts:13


required?​

optional required: string[]

Required properties.

Inherited from​

JsonSchema.required

Defined in​

m2c2kit/packages/core/src/JsonSchema.ts:19


title?​

optional title: string

Intent of the schema.

Inherited from​

JsonSchema.title

Defined in​

m2c2kit/packages/core/src/JsonSchema.ts:9


type?​

optional type: JsonSchemaDataType | JsonSchemaDataType[]

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

Inherited from​

JsonSchema.type

Defined in​

m2c2kit/packages/core/src/JsonSchema.ts:3