changedInput schema / properties / rounds / description
Previous value: -"Optional number of rounds to return (1..full schedule)"New value: +"Optional: return only the first N rounds, integer 1..max (max = teams-1 for even counts, teams for odd; doubled with second_leg). Default: all rounds"
addedInput schema / properties / rounds / minimum
Added value: +1
changedInput schema / properties / rounds / type
Previous value: -"number"New value: +"integer"
changedInput schema / properties / second_leg / description
Previous value: -"Also schedule the reverse fixtures for a double round-robin"New value: +"If true, append a mirrored second leg with home and away swapped (double round-robin). Default false"
changedInput schema / properties / teams / description
Previous value: -"Team names (2 or more, unique)"New value: +"Team names: 2-100 unique, non-empty names (trimmed), e.g. [\"Falcons\", \"Tigers\", \"Bears\"]"
addedInput schema / properties / teams / items / description
Added value: +"Team name, e.g. \"Falcons\""
addedInput schema / properties / teams / maxItems
Added value: +100
addedInput schema / properties / teams / minItems
Added value: +2
addedOutput schema / properties / games_per_team
Added value: +{
+ "description": "Average games per team across the returned rounds (2 decimals)",
+ "type": "number"
+}
addedOutput schema / properties / legs
Added value: +{
+ "description": "Number of legs included in the returned rounds (1 or 2)",
+ "enum": [
+ 1,
+ 2
+ ],
+ "type": "integer"
+}
addedOutput schema / properties / note
Added value: +{
+ "description": "Plain-English summary of the schedule (teams, rounds, byes, truncation)",
+ "type": "string"
+}
addedOutput schema / properties / rounds
Added value: +{
+ "description": "Rounds in play order, each with its fixtures and any bye",
+ "items": {
+ "properties": {
+ "fixtures": {
+ "description": "Fixtures in this round",
+ "items": {
+ "description": "A fixture {home, away}, or {bye} for the team sitting out this round",
+ "properties": {
+ "away": {
+ "description": "Away team name",
+ "type": "string"
+ },
+ "bye": {
+ "description": "Team with a bye (no game) this round",
+ "type": "string"
+ },
+ "home": {
+ "description": "Home team name",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "round": {
+ "description": "Round number starting at 1",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "round",
+ "fixtures"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+}
removedOutput schema / properties / schedule
Removed value: -{
- "description": "List of rounds in the schedule",
- "items": {
- "properties": {
- "bye": {
- "description": "The team with a bye in this round (if any)",
- "type": "string"
- },
- "matches": {
- "description": "List of matches in the round",
- "items": {
- "properties": {
- "away": {
- "description": "The away team name",
- "type": "string"
- },
- "home": {
- "description": "The home team name",
- "type": "string"
- }
- },
- "required": [
- "home",
- "away"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "round": {
- "description": "The round number",
- "type": "number"
- }
- },
- "required": [
- "round",
- "matches"
- ],
- "type": "object"
- },
- "type": "array"
-}
addedOutput schema / properties / teams
Added value: +{
+ "description": "Cleaned (trimmed) team names in input order",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+}
addedOutput schema / properties / total_games
Added value: +{
+ "description": "Total fixtures (excluding byes) in the returned rounds",
+ "type": "integer"
+}
changedOutput schema / required
Previous value: -[
- "schedule"
-]New value: +[
+ "teams",
+ "legs",
+ "rounds",
+ "games_per_team",
+ "total_games",
+ "note"
+]