changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "description": "MYOPL structured response for search_pickleball_rules.",
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "answer": {
+ "description": "Grounded answer with rule citations when supplied.",
+ "type": "string"
+ },
+ "clarification": {
+ "description": "Required clarification of the play, or null.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "edition": {
+ "description": "Rulebook edition year as a string.",
+ "type": "string"
+ },
+ "evidence": {
+ "description": "Up to five cited rule excerpts.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "authority": {
+ "description": "Authority classification of the source record.",
+ "type": "string"
+ },
+ "canonical_url": {
+ "description": "MYOPL rulebook guide citation URL.",
+ "format": "uri",
+ "type": "string"
+ },
+ "canonical_url_type": {
+ "const": "rulebook_guide",
+ "description": "Identifies the linked source as a rulebook guide.",
+ "type": "string"
+ },
+ "official_text": {
+ "description": "Verbatim rule excerpt, or null if contact redaction was required.",
+ "maxLength": 4000,
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "rule": {
+ "description": "Rule identifier.",
+ "type": "string"
+ },
+ "rule_number": {
+ "description": "Official rule identifier for citation.",
+ "type": "string"
+ },
+ "text": {
+ "description": "Rule excerpt with contact details redacted where necessary.",
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "title": {
+ "description": "Rule title.",
+ "type": "string"
+ },
+ "truncated": {
+ "description": "True when the excerpt is shorter than the source rule.",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "rule",
+ "rule_number",
+ "official_text",
+ "canonical_url",
+ "canonical_url_type",
+ "title",
+ "text",
+ "truncated",
+ "authority"
+ ],
+ "type": "object"
+ },
+ "maxItems": 5,
+ "type": "array"
+ },
+ "governing_body": {
+ "description": "Organization responsible for the rulebook.",
+ "type": "string"
+ },
+ "guidance": {
+ "description": "Instructions for preserving citations, exceptions and clarification questions.",
+ "type": "string"
+ },
+ "language": {
+ "description": "Language of the rulebook evidence.",
+ "type": "string"
+ },
+ "myopl_url": {
+ "description": "MYOPL rulebook guide to cite.",
+ "format": "uri",
+ "type": "string"
+ },
+ "source": {
+ "description": "MYOPL rule evidence source.",
+ "type": "string"
+ },
+ "source_url": {
+ "description": "Governing body's official rulebook page.",
+ "format": "uri",
+ "type": "string"
+ },
+ "spoken_reply": {
+ "description": "Rule response with MYOPL attribution and citation link.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "source",
+ "governing_body",
+ "edition",
+ "language",
+ "source_url",
+ "myopl_url",
+ "evidence",
+ "clarification",
+ "guidance",
+ "spoken_reply"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "error": {
+ "description": "Tool execution or argument error; the enclosing result has isError set to true.",
+ "type": "string"
+ },
+ "myopl_url": {
+ "description": "MYOPL website.",
+ "format": "uri",
+ "type": "string"
+ },
+ "source": {
+ "const": "MYOPL",
+ "description": "Source platform.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "error",
+ "source",
+ "myopl_url"
+ ],
+ "type": "object"
+ }
+ ],
+ "type": "object"
+}