{
  "service": "beeminder",
  "displayName": "Beeminder",
  "categories": [
    "Productivity",
    "Finance"
  ],
  "authTypes": [
    "api_key"
  ],
  "auth": [
    {
      "type": "api_key",
      "label": "Auth Token",
      "placeholder": "BEEMINDER_AUTH_TOKEN",
      "description": "Beeminder personal auth token passed as auth_token. View or create it after signing in at https://www.beeminder.com/api/v1/auth_token.json."
    }
  ],
  "homepageUrl": "https://www.beeminder.com",
  "actions": [
    {
      "id": "beeminder.create_datapoint",
      "service": "beeminder",
      "name": "create_datapoint",
      "description": "Create one datapoint on a Beeminder goal.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "minLength": 1,
            "description": "The Beeminder username, or me for the authenticated user."
          },
          "goal_slug": {
            "type": "string",
            "minLength": 1,
            "description": "The Beeminder goal slug."
          },
          "value": {
            "type": "number",
            "description": "The datapoint value."
          },
          "timestamp": {
            "type": "integer",
            "minimum": 0,
            "description": "A Unix timestamp in seconds."
          },
          "daystamp": {
            "type": "string",
            "minLength": 1,
            "description": "The datapoint daystamp in YYYYMMDD format."
          },
          "comment": {
            "type": "string",
            "minLength": 1,
            "description": "The datapoint comment."
          },
          "requestid": {
            "type": "string",
            "minLength": 1,
            "description": "A caller-supplied idempotency key scoped to the goal. Reusing it avoids duplicate datapoints."
          }
        },
        "additionalProperties": false,
        "required": [
          "username",
          "goal_slug",
          "value"
        ],
        "description": "The input payload for creating a Beeminder datapoint."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "datapoint": {
            "type": "object",
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The Beeminder datapoint ID when returned."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "timestamp": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "The datapoint timestamp when returned."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "daystamp": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The Beeminder daystamp when returned."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "value": {
                "anyOf": [
                  {
                    "type": "number",
                    "description": "The datapoint value when returned."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "comment": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The datapoint comment when returned."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "requestid": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The idempotency key associated with the datapoint when returned."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "updated_at": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "The datapoint update timestamp when returned."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "raw": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "The raw object returned by Beeminder."
              }
            },
            "additionalProperties": false,
            "required": [
              "id",
              "timestamp",
              "daystamp",
              "value",
              "comment",
              "requestid",
              "updated_at",
              "raw"
            ],
            "description": "A normalized Beeminder datapoint."
          }
        },
        "additionalProperties": false,
        "required": [
          "datapoint"
        ],
        "description": "The response returned when creating a Beeminder datapoint."
      }
    },
    {
      "id": "beeminder.delete_datapoint",
      "service": "beeminder",
      "name": "delete_datapoint",
      "description": "Delete one Beeminder datapoint by ID.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "minLength": 1,
            "description": "The Beeminder username, or me for the authenticated user."
          },
          "goal_slug": {
            "type": "string",
            "minLength": 1,
            "description": "The Beeminder goal slug."
          },
          "datapoint_id": {
            "type": "string",
            "minLength": 1,
            "description": "The Beeminder datapoint ID."
          }
        },
        "additionalProperties": false,
        "required": [
          "username",
          "goal_slug",
          "datapoint_id"
        ],
        "description": "The input payload for deleting a Beeminder datapoint."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "datapoint": {
            "type": "object",
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The Beeminder datapoint ID when returned."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "timestamp": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "The datapoint timestamp when returned."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "daystamp": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The Beeminder daystamp when returned."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "value": {
                "anyOf": [
                  {
                    "type": "number",
                    "description": "The datapoint value when returned."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "comment": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The datapoint comment when returned."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "requestid": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The idempotency key associated with the datapoint when returned."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "updated_at": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "The datapoint update timestamp when returned."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "raw": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "The raw object returned by Beeminder."
              }
            },
            "additionalProperties": false,
            "required": [
              "id",
              "timestamp",
              "daystamp",
              "value",
              "comment",
              "requestid",
              "updated_at",
              "raw"
            ],
            "description": "A normalized Beeminder datapoint."
          }
        },
        "additionalProperties": false,
        "required": [
          "datapoint"
        ],
        "description": "The response returned when deleting a Beeminder datapoint."
      }
    },
    {
      "id": "beeminder.get_goal",
      "service": "beeminder",
      "name": "get_goal",
      "description": "Read one Beeminder goal, optionally including its datapoints.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "minLength": 1,
            "description": "The Beeminder username, or me for the authenticated user."
          },
          "goal_slug": {
            "type": "string",
            "minLength": 1,
            "description": "The Beeminder goal slug."
          },
          "datapoints": {
            "type": "boolean",
            "description": "Whether Beeminder should include datapoints in the goal response."
          }
        },
        "additionalProperties": false,
        "required": [
          "username",
          "goal_slug"
        ],
        "description": "The input payload for reading a Beeminder goal."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "goal": {
            "type": "object",
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The immutable Beeminder goal ID when returned."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "slug": {
                "type": "string",
                "description": "The Beeminder goal slug."
              },
              "title": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The goal title when returned."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "goal_type": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The Beeminder goal type when returned."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "graph_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The goal graph URL when returned."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "svg_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The goal SVG URL when returned."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "thumb_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The goal thumbnail URL when returned."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "updated_at": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "The goal update timestamp when returned."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "losedate": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "The derailment timestamp when returned."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "goaldate": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "The target date timestamp when returned."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "datapoints": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw object returned by Beeminder."
                    },
                    "description": "Datapoints included with the goal when requested."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "raw": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "The raw object returned by Beeminder."
              }
            },
            "additionalProperties": false,
            "required": [
              "id",
              "slug",
              "title",
              "goal_type",
              "graph_url",
              "svg_url",
              "thumb_url",
              "updated_at",
              "losedate",
              "goaldate",
              "datapoints",
              "raw"
            ],
            "description": "A normalized Beeminder goal."
          }
        },
        "additionalProperties": false,
        "required": [
          "goal"
        ],
        "description": "The response returned when reading a Beeminder goal."
      }
    },
    {
      "id": "beeminder.get_user",
      "service": "beeminder",
      "name": "get_user",
      "description": "Get Beeminder user information, including goals and optional diff-based goal details.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "minLength": 1,
            "description": "The Beeminder username, or me for the authenticated user."
          },
          "associations": {
            "type": "boolean",
            "description": "Whether to include full goal and datapoint objects instead of only goal slugs."
          },
          "diff_since": {
            "type": "integer",
            "minimum": 0,
            "description": "A Unix timestamp in seconds."
          },
          "skinny": {
            "type": "boolean",
            "description": "Whether to return slimmer goal attributes and only each goal's latest datapoint with diff_since."
          },
          "datapoints_count": {
            "type": "integer",
            "minimum": 1,
            "description": "Number of the most recently added datapoints to include for each goal."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for reading a Beeminder user."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "user": {
            "type": "object",
            "properties": {
              "username": {
                "type": "string",
                "description": "The Beeminder username."
              },
              "timezone": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The user's timezone when returned."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "updated_at": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "The user's last update timestamp when returned."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "goals": {
                "type": "array",
                "items": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "A Beeminder goal slug."
                    },
                    {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw object returned by Beeminder."
                    }
                  ],
                  "description": "A goal slug or expanded goal object."
                },
                "description": "The user's goals, either as slugs or expanded goal objects depending on request options."
              },
              "deadbeat": {
                "anyOf": [
                  {
                    "type": "boolean",
                    "description": "Whether Beeminder reports failed or out-of-date payment information."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "urgency_load": {
                "anyOf": [
                  {
                    "type": "number",
                    "description": "The user's Beeminder urgency load score."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "deleted_goals": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw object returned by Beeminder."
                    },
                    "description": "Deleted goals returned when diff_since is used."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "raw": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "The raw object returned by Beeminder."
              }
            },
            "additionalProperties": false,
            "required": [
              "username",
              "timezone",
              "updated_at",
              "goals",
              "deadbeat",
              "urgency_load",
              "deleted_goals",
              "raw"
            ],
            "description": "A normalized Beeminder user."
          }
        },
        "additionalProperties": false,
        "required": [
          "user"
        ],
        "description": "The response returned when reading a Beeminder user."
      }
    },
    {
      "id": "beeminder.list_archived_goals",
      "service": "beeminder",
      "name": "list_archived_goals",
      "description": "List archived Beeminder goals for a user.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "minLength": 1,
            "description": "The Beeminder username, or me for the authenticated user."
          }
        },
        "additionalProperties": false,
        "required": [
          "username"
        ],
        "description": "The input payload for listing archived Beeminder goals."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "goals": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The immutable Beeminder goal ID when returned."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "slug": {
                  "type": "string",
                  "description": "The Beeminder goal slug."
                },
                "title": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The goal title when returned."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "goal_type": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The Beeminder goal type when returned."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "graph_url": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The goal graph URL when returned."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "svg_url": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The goal SVG URL when returned."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "thumb_url": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The goal thumbnail URL when returned."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "updated_at": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "description": "The goal update timestamp when returned."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "losedate": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "description": "The derailment timestamp when returned."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "goaldate": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "description": "The target date timestamp when returned."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "datapoints": {
                  "anyOf": [
                    {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {},
                        "additionalProperties": true,
                        "description": "The raw object returned by Beeminder."
                      },
                      "description": "Datapoints included with the goal when requested."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "raw": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "The raw object returned by Beeminder."
                }
              },
              "additionalProperties": false,
              "required": [
                "id",
                "slug",
                "title",
                "goal_type",
                "graph_url",
                "svg_url",
                "thumb_url",
                "updated_at",
                "losedate",
                "goaldate",
                "datapoints",
                "raw"
              ],
              "description": "A normalized Beeminder goal."
            },
            "description": "The archived goals returned by Beeminder."
          }
        },
        "additionalProperties": false,
        "required": [
          "goals"
        ],
        "description": "The response returned when listing archived Beeminder goals."
      }
    },
    {
      "id": "beeminder.list_datapoints",
      "service": "beeminder",
      "name": "list_datapoints",
      "description": "List datapoints for one Beeminder goal with optional count or page parameters.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "minLength": 1,
            "description": "The Beeminder username, or me for the authenticated user."
          },
          "goal_slug": {
            "type": "string",
            "minLength": 1,
            "description": "The Beeminder goal slug."
          },
          "count": {
            "type": "integer",
            "minimum": 0,
            "description": "Maximum number of datapoints to return. Ignored when page is set."
          },
          "page": {
            "type": "integer",
            "minimum": 1,
            "description": "Page number for paginated datapoint results."
          },
          "per": {
            "type": "integer",
            "minimum": 1,
            "description": "Number of datapoints per page when page is set."
          }
        },
        "additionalProperties": false,
        "required": [
          "username",
          "goal_slug"
        ],
        "description": "The input payload for listing Beeminder datapoints."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "datapoints": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The Beeminder datapoint ID when returned."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "timestamp": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "description": "The datapoint timestamp when returned."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "daystamp": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The Beeminder daystamp when returned."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "value": {
                  "anyOf": [
                    {
                      "type": "number",
                      "description": "The datapoint value when returned."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "comment": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The datapoint comment when returned."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "requestid": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The idempotency key associated with the datapoint when returned."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "updated_at": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "description": "The datapoint update timestamp when returned."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "raw": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "The raw object returned by Beeminder."
                }
              },
              "additionalProperties": false,
              "required": [
                "id",
                "timestamp",
                "daystamp",
                "value",
                "comment",
                "requestid",
                "updated_at",
                "raw"
              ],
              "description": "A normalized Beeminder datapoint."
            },
            "description": "The datapoints returned by Beeminder."
          }
        },
        "additionalProperties": false,
        "required": [
          "datapoints"
        ],
        "description": "The response returned when listing Beeminder datapoints."
      }
    },
    {
      "id": "beeminder.list_goals",
      "service": "beeminder",
      "name": "list_goals",
      "description": "List active Beeminder goals for a user.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "minLength": 1,
            "description": "The Beeminder username, or me for the authenticated user."
          }
        },
        "additionalProperties": false,
        "required": [
          "username"
        ],
        "description": "The input payload for listing active Beeminder goals."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "goals": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The immutable Beeminder goal ID when returned."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "slug": {
                  "type": "string",
                  "description": "The Beeminder goal slug."
                },
                "title": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The goal title when returned."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "goal_type": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The Beeminder goal type when returned."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "graph_url": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The goal graph URL when returned."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "svg_url": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The goal SVG URL when returned."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "thumb_url": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The goal thumbnail URL when returned."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "updated_at": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "description": "The goal update timestamp when returned."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "losedate": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "description": "The derailment timestamp when returned."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "goaldate": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "description": "The target date timestamp when returned."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "datapoints": {
                  "anyOf": [
                    {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {},
                        "additionalProperties": true,
                        "description": "The raw object returned by Beeminder."
                      },
                      "description": "Datapoints included with the goal when requested."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "raw": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "The raw object returned by Beeminder."
                }
              },
              "additionalProperties": false,
              "required": [
                "id",
                "slug",
                "title",
                "goal_type",
                "graph_url",
                "svg_url",
                "thumb_url",
                "updated_at",
                "losedate",
                "goaldate",
                "datapoints",
                "raw"
              ],
              "description": "A normalized Beeminder goal."
            },
            "description": "The active goals returned by Beeminder."
          }
        },
        "additionalProperties": false,
        "required": [
          "goals"
        ],
        "description": "The response returned when listing Beeminder goals."
      }
    },
    {
      "id": "beeminder.update_datapoint",
      "service": "beeminder",
      "name": "update_datapoint",
      "description": "Update one Beeminder datapoint by ID.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "minLength": 1,
            "description": "The Beeminder username, or me for the authenticated user."
          },
          "goal_slug": {
            "type": "string",
            "minLength": 1,
            "description": "The Beeminder goal slug."
          },
          "datapoint_id": {
            "type": "string",
            "minLength": 1,
            "description": "The Beeminder datapoint ID."
          },
          "value": {
            "type": "number",
            "description": "The updated datapoint value."
          },
          "timestamp": {
            "type": "integer",
            "minimum": 0,
            "description": "A Unix timestamp in seconds."
          },
          "daystamp": {
            "type": "string",
            "minLength": 1,
            "description": "The updated datapoint daystamp in YYYYMMDD format."
          },
          "comment": {
            "type": "string",
            "minLength": 1,
            "description": "The datapoint comment."
          }
        },
        "additionalProperties": false,
        "required": [
          "username",
          "goal_slug",
          "datapoint_id"
        ],
        "description": "The input payload for updating a Beeminder datapoint."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "datapoint": {
            "type": "object",
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The Beeminder datapoint ID when returned."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "timestamp": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "The datapoint timestamp when returned."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "daystamp": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The Beeminder daystamp when returned."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "value": {
                "anyOf": [
                  {
                    "type": "number",
                    "description": "The datapoint value when returned."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "comment": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The datapoint comment when returned."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "requestid": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The idempotency key associated with the datapoint when returned."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "updated_at": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "The datapoint update timestamp when returned."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "raw": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "The raw object returned by Beeminder."
              }
            },
            "additionalProperties": false,
            "required": [
              "id",
              "timestamp",
              "daystamp",
              "value",
              "comment",
              "requestid",
              "updated_at",
              "raw"
            ],
            "description": "A normalized Beeminder datapoint."
          }
        },
        "additionalProperties": false,
        "required": [
          "datapoint"
        ],
        "description": "The response returned when updating a Beeminder datapoint."
      }
    }
  ]
}
