changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "description": "MYOPL structured response for get_my_rating.",
+ "oneOf": [
+ {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "doubles": {
+ "additionalProperties": false,
+ "description": "Doubles rating and public card totals. Games are distinct from matches.",
+ "properties": {
+ "games_lost": {
+ "description": "Games lost in this format; null means unknown and zero means a known zero total.",
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "games_played": {
+ "description": "Games played in this format; null means unknown and zero means a known zero total.",
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "games_won": {
+ "description": "Games won in this format; null means unknown and zero means a known zero total.",
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "points_lost": {
+ "description": "Points lost in this format; null means unknown and zero means a known zero total.",
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "points_won": {
+ "description": "Points won in this format; null means unknown and zero means a known zero total.",
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "rating": {
+ "description": "Published OPL rating as an exact decimal string, preserving precision; null means unrated.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "reliability_score": {
+ "description": "Reliability Score from 0 to 100; null means unavailable.",
+ "maximum": 100,
+ "minimum": 0,
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "status": {
+ "description": "Whether a published rating exists.",
+ "enum": [
+ "rated",
+ "unrated"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "rating",
+ "status",
+ "reliability_score",
+ "games_played",
+ "games_won",
+ "games_lost",
+ "points_won",
+ "points_lost"
+ ],
+ "type": "object"
+ },
+ "doubles_opl": {
+ "description": "Published OPL rating as an exact decimal string, preserving precision; null means unrated.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "found": {
+ "const": true,
+ "description": "Whether an accessible player with this exact username was found.",
+ "type": "boolean"
+ },
+ "guidance": {
+ "description": "Instructions for citing and interpreting the public rating totals.",
+ "type": "string"
+ },
+ "messenger_url": {
+ "description": "Player's unique MYOPL Messenger invitation link.",
+ "format": "uri",
+ "type": "string"
+ },
+ "retrieved_at": {
+ "description": "Time this response was retrieved, including UTC offset.",
+ "format": "date-time",
+ "type": "string"
+ },
+ "singles": {
+ "additionalProperties": false,
+ "description": "Singles rating and public card totals. Games are distinct from matches.",
+ "properties": {
+ "games_lost": {
+ "description": "Games lost in this format; null means unknown and zero means a known zero total.",
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "games_played": {
+ "description": "Games played in this format; null means unknown and zero means a known zero total.",
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "games_won": {
+ "description": "Games won in this format; null means unknown and zero means a known zero total.",
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "points_lost": {
+ "description": "Points lost in this format; null means unknown and zero means a known zero total.",
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "points_won": {
+ "description": "Points won in this format; null means unknown and zero means a known zero total.",
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "rating": {
+ "description": "Published OPL rating as an exact decimal string, preserving precision; null means unrated.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "reliability_score": {
+ "description": "Reliability Score from 0 to 100; null means unavailable.",
+ "maximum": 100,
+ "minimum": 0,
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "status": {
+ "description": "Whether a published rating exists.",
+ "enum": [
+ "rated",
+ "unrated"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "rating",
+ "status",
+ "reliability_score",
+ "games_played",
+ "games_won",
+ "games_lost",
+ "points_won",
+ "points_lost"
+ ],
+ "type": "object"
+ },
+ "singles_opl": {
+ "description": "Published OPL rating as an exact decimal string, preserving precision; null means unrated.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "source": {
+ "const": "MYOPL",
+ "description": "Source platform.",
+ "type": "string"
+ },
+ "source_url": {
+ "description": "MYOPL rating reference to cite in the answer.",
+ "format": "uri",
+ "type": "string"
+ },
+ "spoken_reply": {
+ "description": "Rating and public card totals with MYOPL attribution and links.",
+ "type": "string"
+ },
+ "sport": {
+ "const": "pickleball",
+ "description": "Sport for these ratings.",
+ "type": "string"
+ },
+ "username": {
+ "description": "Exact MYOPL player username.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "found",
+ "source",
+ "source_url",
+ "spoken_reply",
+ "retrieved_at",
+ "username",
+ "sport",
+ "singles_opl",
+ "doubles_opl",
+ "singles",
+ "doubles",
+ "messenger_url",
+ "guidance"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "found": {
+ "const": false,
+ "description": "Whether an accessible player with this exact username was found.",
+ "type": "boolean"
+ },
+ "retrieved_at": {
+ "description": "Time this response was retrieved, including UTC offset.",
+ "format": "date-time",
+ "type": "string"
+ },
+ "source": {
+ "const": "MYOPL",
+ "description": "Source platform.",
+ "type": "string"
+ },
+ "source_url": {
+ "description": "MYOPL rating reference to cite in the answer.",
+ "format": "uri",
+ "type": "string"
+ },
+ "spoken_reply": {
+ "description": "Rating and public card totals with MYOPL attribution and links.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "found",
+ "source",
+ "source_url",
+ "spoken_reply",
+ "retrieved_at"
+ ],
+ "type": "object"
+ }
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "error": {
+ "description": "Tool execution or argument error; the enclosing result has isError set to true.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "error"
+ ],
+ "type": "object"
+ }
+ ],
+ "type": "object"
+}