Unity · Schema
Unity Player
Schema for a Unity Gaming Services player account with authentication, identity, and metadata.
Game DevelopmentReal-Time 3DMultiplayerGame ServicesCloud Gaming
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Unique Unity player identifier |
| externalIds | array | Linked external identity providers |
| disabled | boolean | Whether the player account is disabled |
| lastLoginDate | string | ISO 8601 timestamp of the player's last login |
| createdAt | string | ISO 8601 timestamp of account creation |
JSON Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/unity/main/json-schema/unity-player-schema.json",
"title": "Unity Player",
"description": "Schema for a Unity Gaming Services player account with authentication, identity, and metadata.",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Unique Unity player identifier"
},
"externalIds": {
"type": "array",
"description": "Linked external identity providers",
"items": {
"type": "object",
"properties": {
"providerId": {
"type": "string",
"enum": ["google", "apple", "steam", "facebook", "custom"],
"description": "External identity provider name"
},
"externalId": {
"type": "string",
"description": "Player identifier at the external provider"
}
},
"required": ["providerId", "externalId"]
}
},
"disabled": {
"type": "boolean",
"description": "Whether the player account is disabled"
},
"lastLoginDate": {
"type": "string",
"format": "date-time",
"description": "ISO 8601 timestamp of the player's last login"
},
"createdAt": {
"type": "string",
"format": "date-time",
"description": "ISO 8601 timestamp of account creation"
}
},
"required": ["id"]
}