addedOutput schema / $defs / PanelGoalOut
Added value: +{
+ "description": "The goal a finished session counted toward, for the panel's finished\nscreen: the web's done-screen block, its words in the account's\nlanguage.",
+ "properties": {
+ "behind": {
+ "description": "Behind its plan: the ring in amber.",
+ "type": "boolean"
+ },
+ "caption": {
+ "description": "How much is learned, then the days left or how to catch up.",
+ "type": "string"
+ },
+ "catch_up": {
+ "description": "New cards \"Study N more\" adds to the deck today; 0 for no button.",
+ "format": "uint32",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "deck": {
+ "description": "The deck the goal is on, as boost_new_today names it.",
+ "type": "string"
+ },
+ "head": {
+ "description": "\"On track for Dec 18\", \"15 cards behind for Dec 18\".",
+ "type": "string"
+ },
+ "percent": {
+ "description": "How much of the deck is learned, out of 100: the ring.",
+ "format": "uint32",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "percent_label": {
+ "description": "The share learned as text (\"40%\"), shown when there is no button.",
+ "type": "string"
+ },
+ "study_more": {
+ "description": "The button's words.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "deck",
+ "percent",
+ "behind",
+ "head",
+ "caption",
+ "percent_label",
+ "catch_up",
+ "study_more"
+ ],
+ "type": "object"
+}