Skip to content

Commit

Permalink
update schema
Browse files Browse the repository at this point in the history
  • Loading branch information
icewind1991 committed Jan 31, 2024
1 parent 85b82b2 commit f38e4ca
Showing 1 changed file with 111 additions and 24 deletions.
135 changes: 111 additions & 24 deletions schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -946,6 +946,7 @@
"type": "object",
"required": [
"additional_flags",
"player",
"sound",
"team",
"type"
Expand All @@ -956,6 +957,11 @@
"format": "uint16",
"minimum": 0.0
},
"player": {
"type": "integer",
"format": "uint16",
"minimum": 0.0
},
"sound": {
"$ref": "#/definitions/String"
},
Expand Down Expand Up @@ -2039,7 +2045,8 @@
"issue",
"param_1",
"team",
"type"
"type",
"voteidx"
],
"properties": {
"initiator": {
Expand All @@ -2063,6 +2070,11 @@
"enum": [
"VoteStarted"
]
},
"voteidx": {
"type": "integer",
"format": "uint32",
"minimum": 0.0
}
}
},
Expand All @@ -2075,7 +2087,8 @@
"vote_option_2",
"vote_option_3",
"vote_option_4",
"vote_option_5"
"vote_option_5",
"voteidx"
],
"properties": {
"potential_votes": {
Expand Down Expand Up @@ -2113,6 +2126,11 @@
"type": "integer",
"format": "uint8",
"minimum": 0.0
},
"voteidx": {
"type": "integer",
"format": "uint32",
"minimum": 0.0
}
}
},
Expand All @@ -2122,7 +2140,8 @@
"details",
"param_1",
"team",
"type"
"type",
"voteidx"
],
"properties": {
"details": {
Expand All @@ -2141,14 +2160,20 @@
"enum": [
"VotePassed"
]
},
"voteidx": {
"type": "integer",
"format": "uint32",
"minimum": 0.0
}
}
},
{
"type": "object",
"required": [
"team",
"type"
"type",
"voteidx"
],
"properties": {
"team": {
Expand All @@ -2161,6 +2186,11 @@
"enum": [
"VoteFailed"
]
},
"voteidx": {
"type": "integer",
"format": "uint32",
"minimum": 0.0
}
}
},
Expand All @@ -2170,7 +2200,8 @@
"entity_id",
"team",
"type",
"vote_option"
"vote_option",
"voteidx"
],
"properties": {
"entity_id": {
Expand All @@ -2193,6 +2224,11 @@
"type": "integer",
"format": "uint8",
"minimum": 0.0
},
"voteidx": {
"type": "integer",
"format": "uint32",
"minimum": 0.0
}
}
},
Expand All @@ -2205,7 +2241,8 @@
"option_3",
"option_4",
"option_5",
"type"
"type",
"voteidx"
],
"properties": {
"count": {
Expand Down Expand Up @@ -2233,6 +2270,11 @@
"enum": [
"VoteOptions"
]
},
"voteidx": {
"type": "integer",
"format": "uint32",
"minimum": 0.0
}
}
},
Expand Down Expand Up @@ -9277,6 +9319,46 @@
}
}
},
{
"type": "object",
"required": [
"player",
"type"
],
"properties": {
"player": {
"type": "integer",
"format": "uint16",
"minimum": 0.0
},
"type": {
"type": "string",
"enum": [
"SkeletonKilledQuest"
]
}
}
},
{
"type": "object",
"required": [
"player",
"type"
],
"properties": {
"player": {
"type": "integer",
"format": "uint16",
"minimum": 0.0
},
"type": {
"type": "string",
"enum": [
"SkeletonKingKilledQuest"
]
}
}
},
{
"type": "object",
"required": [
Expand Down Expand Up @@ -11149,6 +11231,8 @@
"MerasmusStunned",
"MerasmusPropFound",
"HalloweenSkeletonKilled",
"SkeletonKilledQuest",
"SkeletonKingKilledQuest",
"EscapeHell",
"CrossSpectralBridge",
"MiniGameWon",
Expand Down Expand Up @@ -11920,7 +12004,7 @@
],
"properties": {
"client": {
"$ref": "#/definitions/UserId"
"$ref": "#/definitions/EntityId"
},
"from": {
"anyOf": [
Expand Down Expand Up @@ -12292,13 +12376,17 @@
"type": "object",
"required": [
"event",
"event_type",
"event_type_id",
"type"
],
"properties": {
"event": {
"$ref": "#/definitions/GameEvent"
},
"event_type": {
"$ref": "#/definitions/GameEventType"
},
"event_type_id": {
"$ref": "#/definitions/GameEventTypeId"
},
Expand Down Expand Up @@ -12327,12 +12415,14 @@
"minimum": 0.0
},
"delta": {
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 1.0
"anyOf": [
{
"$ref": "#/definitions/ServerTick"
},
{
"type": "null"
}
]
},
"entities": {
"type": "array",
Expand Down Expand Up @@ -12563,12 +12653,14 @@
"format": "float"
},
"delta": {
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0.0
"anyOf": [
{
"$ref": "#/definitions/ServerTick"
},
{
"type": "null"
}
]
},
"entity_index": {
"$ref": "#/definitions/EntityId"
Expand Down Expand Up @@ -12999,11 +13091,6 @@
}
}
},
"UserId": {
"type": "integer",
"format": "uint8",
"minimum": 0.0
},
"VGuiMenuMessageData": {
"type": "object",
"required": [
Expand Down

0 comments on commit f38e4ca

Please sign in to comment.