Unity · Schema

EconomyConfig

Game DevelopmentReal-Time 3DMultiplayerGame ServicesCloud Gaming

Properties

Name Type Description
id string
name string
type string
initial number Initial balance (for currencies)
max number Maximum balance (for currencies)
customData object
created string
modified string
View JSON Schema on GitHub

JSON Schema

unity-economyconfig-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/EconomyConfig",
  "title": "EconomyConfig",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "type": {
      "type": "string",
      "enum": [
        "CURRENCY",
        "INVENTORY_ITEM",
        "VIRTUAL_PURCHASE",
        "REAL_MONEY_PURCHASE"
      ]
    },
    "initial": {
      "type": "number",
      "description": "Initial balance (for currencies)"
    },
    "max": {
      "type": "number",
      "description": "Maximum balance (for currencies)"
    },
    "customData": {
      "type": "object"
    },
    "created": {
      "type": "string",
      "format": "date-time"
    },
    "modified": {
      "type": "string",
      "format": "date-time"
    }
  }
}