Skip to content

Instantly share code, notes, and snippets.

@kazu0617
Created July 13, 2025 15:54
Show Gist options
  • Save kazu0617/eaaa420582156e6f4169c45fb6e7ba05 to your computer and use it in GitHub Desktop.
Save kazu0617/eaaa420582156e6f4169c45fb6e7ba05 to your computer and use it in GitHub Desktop.
VRCXの画像のスキーマをそれっぽく作ったもの
{
"application": "VRCX",
"version": 1,
"author": {
"id": "vrchat_uuid",
"displayName": "vrchat_displayName"
},
"world": {
"name": "ワールド名",
"id": "ワールドID",
"instanceId": "インスタンスID"
},
"players": [
{
"id": "vrchat_usrId",
"displayName": "vrchat_displayName"
},
{
"id": "vrchat_usrId_2",
"displayName": "vrchat_displayName_2"
}
]
}
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "VRCX Metadata Schema",
"type": "object",
"required": ["application", "version", "author", "world", "players"],
"properties": {
"application": {
"type": "string",
"const": "VRCX"
},
"version": {
"type": "integer",
"minimum": 1
},
"author": {
"type": "object",
"required": ["id", "displayName"],
"properties": {
"id": {
"type": "string",
"description": "VRChat user ID of the author"
},
"displayName": {
"type": "string",
"description": "Display name of the author"
}
}
},
"world": {
"type": "object",
"required": ["name", "id", "instanceId"],
"properties": {
"name": {
"type": "string",
"description": "Name of the VRChat world"
},
"id": {
"type": "string",
"description": "VRChat world ID"
},
"instanceId": {
"type": "string",
"description": "Instance ID of the VRChat world"
}
}
},
"players": {
"type": "array",
"description": "List of players present in the instance",
"items": {
"type": "object",
"required": ["id", "displayName"],
"properties": {
"id": {
"type": "string",
"description": "VRChat user ID"
},
"displayName": {
"type": "string",
"description": "Display name of the player"
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment