Unity · Schema

Relationship

Game DevelopmentReal-Time 3DMultiplayerGame ServicesCloud Gaming

Properties

Name Type Description
id string
type string
member object
created string
View JSON Schema on GitHub

JSON Schema

unity-relationship-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Relationship",
  "title": "Relationship",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "type": {
      "type": "string",
      "enum": [
        "FRIEND",
        "FRIEND_REQUEST",
        "BLOCK"
      ]
    },
    "member": {
      "$ref": "#/components/schemas/PlayerProfile"
    },
    "created": {
      "type": "string",
      "format": "date-time"
    }
  }
}