Unity · Schema

Setting

Game DevelopmentReal-Time 3DMultiplayerGame ServicesCloud Gaming

Properties

Name Type Description
key string Configuration key name
type string Data type of the setting
value object
description string
View JSON Schema on GitHub

JSON Schema

unity-setting-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Setting",
  "title": "Setting",
  "type": "object",
  "required": [
    "key",
    "type",
    "value"
  ],
  "properties": {
    "key": {
      "type": "string",
      "description": "Configuration key name"
    },
    "type": {
      "type": "string",
      "enum": [
        "string",
        "int",
        "bool",
        "float",
        "json"
      ],
      "description": "Data type of the setting"
    },
    "value": {},
    "description": {
      "type": "string"
    }
  }
}