changedOutput schema / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "found": {
- "const": false,
- "type": "boolean"
- },
- "reason": {
- "type": "string"
- }
- },
- "required": [
- "found",
- "reason"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "achievements": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "achieved": {
- "type": "boolean"
- },
- "name": {
- "type": "string"
- },
- "unlocked_at": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "achieved",
- "unlocked_at"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "completion_pct": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "found": {
- "const": true,
- "type": "boolean"
- },
- "game": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "returned": {
- "type": "number"
- },
- "total": {
- "type": "number"
- },
- "unlocked": {
- "type": "number"
- }
- },
- "required": [
- "found",
- "game",
- "total",
- "unlocked",
- "completion_pct",
- "returned",
- "achievements"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "found": {
+ "const": false,
+ "type": "boolean"
+ },
+ "reason": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "found",
+ "reason"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "achievements": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "achieved": {
+ "type": "boolean"
+ },
+ "name": {
+ "description": "Display name, falling back to the achievement's internal api name when Valve's schema has no localized title for it.",
+ "type": "string"
+ },
+ "unlocked_at": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "achieved",
+ "unlocked_at"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "completion_pct": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "found": {
+ "const": true,
+ "type": "boolean"
+ },
+ "game": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The game's name from Valve's achievement schema — occasionally an internal dev codename rather than the store title (e.g. 'Fiber' for Persona 5 Royal). Treat the appid you passed as the reliable identifier, or get the store title from get_game."
+ },
+ "returned": {
+ "type": "number"
+ },
+ "total": {
+ "type": "number"
+ },
+ "unlocked": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "found",
+ "game",
+ "total",
+ "unlocked",
+ "completion_pct",
+ "returned",
+ "achievements"
+ ],
+ "type": "object"
+ }
+]