Unity · Schema

CreateRuleRequest

Game DevelopmentReal-Time 3DMultiplayerGame ServicesCloud Gaming

Properties

Name Type Description
name string
enabled boolean
priority integer
condition string
rolloutPercentage integer
startDate string
endDate string
value array
View JSON Schema on GitHub

JSON Schema

unity-createrulerequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreateRuleRequest",
  "title": "CreateRuleRequest",
  "type": "object",
  "required": [
    "name",
    "enabled",
    "priority",
    "condition",
    "value"
  ],
  "properties": {
    "name": {
      "type": "string"
    },
    "enabled": {
      "type": "boolean"
    },
    "priority": {
      "type": "integer"
    },
    "condition": {
      "type": "string"
    },
    "rolloutPercentage": {
      "type": "integer",
      "default": 100
    },
    "startDate": {
      "type": "string",
      "format": "date-time"
    },
    "endDate": {
      "type": "string",
      "format": "date-time"
    },
    "value": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Setting"
      }
    }
  }
}