changedOutput schema / anyOf
Previous value: -[
- {
- "anyOf": [
- {
- "additionalProperties": {},
- "properties": {
- "adviceBasis": {
- "enum": [
- "current_response",
- "recorded_before_placement"
- ],
- "type": "string"
- },
- "adviceFilter": {
- "enum": [
- "all",
- "unknown",
- "unseen",
- "viewed",
- "followed",
- "modified",
- "rejected"
- ],
- "type": "string"
- },
- "asOf": {
- "format": "date-time",
- "type": "string"
- },
- "generation": {
- "pattern": "^\\d{1,19}$",
- "type": "string"
- },
- "groups": {
- "items": {},
- "maxItems": 600,
- "type": "array"
- },
- "limitations": {
- "items": {},
- "maxItems": 10,
- "type": "array"
- },
- "record": {
- "properties": {
- "basis": {},
- "losses": {},
- "pushes": {},
- "settled": {},
- "units": {},
- "unresolved": {},
- "wins": {}
- },
- "required": [
- "basis",
- "wins",
- "losses",
- "pushes",
- "settled",
- "unresolved",
- "units"
- ],
- "type": "object"
- },
- "timezone": {
- "type": "string"
- },
- "undated": {
- "properties": {
- "basis": {},
- "open": {},
- "settled": {}
- },
- "required": [
- "open",
- "settled",
- "basis"
- ],
- "type": "object"
- },
- "version": {
- "const": "bsd-history-summary-v1",
- "type": "string"
- },
- "window": {
- "properties": {
- "basis": {},
- "from": {},
- "to": {}
- },
- "required": [
- "from",
- "to",
- "basis"
- ],
- "type": "object"
- }
- },
- "required": [
- "version",
- "adviceFilter",
- "adviceBasis",
- "generation",
- "asOf",
- "timezone",
- "window",
- "groups",
- "undated",
- "limitations"
- ],
- "type": "object"
- },
- {
- "additionalProperties": {},
- "properties": {
- "adviceBasis": {
- "enum": [
- "current_response",
- "recorded_before_placement"
- ],
- "type": "string"
- },
- "adviceFilter": {
- "enum": [
- "all",
- "unknown",
- "unseen",
- "viewed",
- "followed",
- "modified",
- "rejected"
- ],
- "type": "string"
- },
- "asOf": {
- "format": "date-time",
- "type": "string"
- },
- "generation": {
- "pattern": "^\\d{1,19}$",
- "type": "string"
- },
- "items": {
- "items": {},
- "maxItems": 50,
- "type": "array"
- },
- "limitations": {
- "items": {},
- "maxItems": 8,
- "type": "array"
- },
- "next": {
- "anyOf": [
- {
- "maxLength": 2000,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "pickemEntries": {
- "items": {},
- "maxItems": 50,
- "type": "array"
- },
- "timezone": {
- "maxLength": 100,
- "type": "string"
- },
- "version": {
- "const": "bsd-history-list-v1",
- "type": "string"
- },
- "window": {
- "properties": {
- "basis": {},
- "from": {},
- "to": {}
- },
- "required": [
- "from",
- "to",
- "basis"
- ],
- "type": "object"
- }
- },
- "required": [
- "version",
- "adviceFilter",
- "adviceBasis",
- "generation",
- "asOf",
- "timezone",
- "window",
- "items",
- "next",
- "limitations"
- ],
- "type": "object"
- },
- {
- "additionalProperties": {},
- "properties": {
- "asOf": {
- "format": "date-time",
- "type": "string"
- },
- "generation": {
- "pattern": "^\\d{1,19}$",
- "type": "string"
- },
- "items": {
- "items": {},
- "maxItems": 10,
- "type": "array"
- },
- "limitations": {
- "items": {},
- "maxItems": 6,
- "type": "array"
- },
- "rollup": {
- "properties": {
- "bets": {},
- "currencies": {},
- "lost": {},
- "net": {},
- "open": {},
- "other": {},
- "push": {},
- "won": {}
- },
- "required": [
- "bets",
- "won",
- "lost",
- "push",
- "open",
- "other",
- "net",
- "currencies"
- ],
- "type": "object"
- },
- "timezone": {
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- "version": {
- "const": "bsd-history-after-advice-v1",
- "type": "string"
- },
- "window": {
- "properties": {
- "basis": {},
- "from": {},
- "to": {}
- },
- "required": [
- "from",
- "to",
- "basis"
- ],
- "type": "object"
- }
- },
- "required": [
- "version",
- "generation",
- "asOf",
- "timezone",
- "window",
- "rollup",
- "items",
- "limitations"
- ],
- "type": "object"
- },
- {
- "additionalProperties": {},
- "properties": {
- "generation": {
- "pattern": "^\\d{1,19}$",
- "type": "string"
- },
- "items": {
- "items": {},
- "maxItems": 25,
- "type": "array"
- },
- "limitations": {
- "items": {},
- "maxItems": 8,
- "type": "array"
- },
- "next": {
- "anyOf": [
- {
- "maxLength": 1500,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "record": {
- "properties": {
- "id": {},
- "kind": {},
- "placedAt": {},
- "placementSource": {},
- "revision": {},
- "sourceDigest": {}
- },
- "required": [
- "id",
- "kind",
- "revision",
- "sourceDigest",
- "placedAt",
- "placementSource"
- ],
- "type": "object"
- },
- "summary": {
- "properties": {
- "firstDisplayAcknowledgementsBeforePlacement": {},
- "laterResponseCorrections": {},
- "reportedStateBeforePlacement": {},
- "reportsAvailableAtOrAfterPlacement": {},
- "reportsAvailableBeforePlacement": {},
- "reportsWithUnknownPlacementTime": {},
- "responsesRecordedBeforePlacement": {},
- "totalReports": {}
- },
- "required": [
- "totalReports",
- "reportsAvailableBeforePlacement",
- "reportsAvailableAtOrAfterPlacement",
- "reportsWithUnknownPlacementTime",
- "firstDisplayAcknowledgementsBeforePlacement",
- "responsesRecordedBeforePlacement",
- "laterResponseCorrections",
- "reportedStateBeforePlacement"
- ],
- "type": "object"
- },
- "version": {
- "const": "bsd-history-advice-v1",
- "type": "string"
- }
- },
- "required": [
- "version",
- "generation",
- "record",
- "summary",
- "items",
- "next",
- "limitations"
- ],
- "type": "object"
- },
- {
- "additionalProperties": {},
- "properties": {
- "adherence": {
- "properties": {
- "basis": {},
- "reason": {},
- "record": {},
- "sources": {},
- "state": {},
- "version": {}
- },
- "required": [
- "version",
- "record",
- "state",
- "basis",
- "sources",
- "reason"
- ],
- "type": "object"
- },
- "doctorAdvice": {
- "properties": {
- "generation": {},
- "items": {},
- "limitations": {},
- "next": {},
- "record": {},
- "version": {}
- },
- "required": [
- "version",
- "generation",
- "record",
- "items",
- "next",
- "limitations"
- ],
- "type": "object"
- },
- "generation": {
- "pattern": "^\\d{1,19}$",
- "type": "string"
- },
- "grade": {
- "anyOf": [
- {
- "$ref": "#/$defs/s1"
- },
- {
- "$ref": "#/$defs/s1"
- },
- {
- "properties": {
- "reason": {},
- "record": {},
- "report": {},
- "state": {},
- "version": {}
- },
- "required": [
- "version",
- "record",
- "state",
- "reason",
- "report"
- ],
- "type": "object"
- }
- ]
- },
- "gradeAdvice": {
- "properties": {
- "generation": {},
- "items": {},
- "limitations": {},
- "next": {},
- "record": {},
- "summary": {},
- "version": {}
- },
- "required": [
- "version",
- "generation",
- "record",
- "summary",
- "items",
- "next",
- "limitations"
- ],
- "type": "object"
- },
- "record": {
- "$ref": "#/$defs/s0"
- },
- "unitSetting": {
- "properties": {
- "basis": {},
- "source": {},
- "unitMinor": {}
- },
- "required": [
- "basis",
- "source",
- "unitMinor"
- ],
- "type": "object"
- },
- "units": {
- "properties": {
- "basis": {},
- "knownRecords": {},
- "missingRecords": {},
- "reason": {},
- "state": {},
- "value": {},
- "version": {}
- },
- "required": [
- "version",
- "basis",
- "knownRecords",
- "missingRecords",
- "state",
- "reason",
- "value"
- ],
- "type": "object"
- },
- "version": {
- "const": "bsd-history-record-context-v1",
- "type": "string"
- }
- },
- "required": [
- "version",
- "generation",
- "record",
- "grade",
- "adherence",
- "unitSetting",
- "units",
- "gradeAdvice",
- "doctorAdvice"
- ],
- "type": "object"
- },
- {
- "additionalProperties": {},
- "properties": {
- "context": {
- "properties": {
- "adherence": {},
- "doctorAdvice": {},
- "generation": {},
- "grade": {},
- "gradeAdvice": {},
- "record": {},
- "unitSetting": {},
- "units": {},
- "version": {}
- },
- "required": [
- "version",
- "generation",
- "record",
- "grade",
- "adherence",
- "unitSetting",
- "units",
- "gradeAdvice",
- "doctorAdvice"
- ],
- "type": "object"
- },
- "placementUnits": {
- "properties": {
- "basis": {},
- "netUnits": {},
- "placedAt": {},
- "reason": {},
- "recordId": {},
- "recordKind": {},
- "stakeUnits": {},
- "state": {},
- "unitEffectiveAt": {},
- "version": {}
- },
- "required": [
- "version",
- "recordKind",
- "recordId",
- "basis",
- "placedAt",
- "unitEffectiveAt",
- "stakeUnits",
- "netUnits",
- "state",
- "reason"
- ],
- "type": "object"
- },
- "version": {
- "const": "bsd-history-placement-context-v2",
- "type": "string"
- }
- },
- "required": [
- "version",
- "context",
- "placementUnits"
- ],
- "type": "object"
- },
- {
- "additionalProperties": {},
- "properties": {
- "groups": {
- "items": {},
- "maxItems": 600,
- "type": "array"
- },
- "summary": {
- "properties": {
- "adviceBasis": {},
- "adviceFilter": {},
- "asOf": {},
- "generation": {},
- "groups": {},
- "limitations": {},
- "record": {},
- "timezone": {},
- "undated": {},
- "version": {},
- "window": {}
- },
- "required": [
- "version",
- "adviceFilter",
- "adviceBasis",
- "generation",
- "asOf",
- "timezone",
- "window",
- "groups",
- "undated",
- "limitations"
- ],
- "type": "object"
- },
- "unitSetting": {
- "properties": {
- "basis": {},
- "source": {},
- "unitMinor": {}
- },
- "required": [
- "basis",
- "source",
- "unitMinor"
- ],
- "type": "object"
- },
- "version": {
- "const": "bsd-history-units-summary-v1",
- "type": "string"
- }
- },
- "required": [
- "version",
- "summary",
- "unitSetting",
- "groups"
- ],
- "type": "object"
- },
- {
- "additionalProperties": {},
- "properties": {
- "asOf": {
- "format": "date-time",
- "type": "string"
- },
- "bucketDays": {
- "anyOf": [
- {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "currency": {
- "type": "string"
- },
- "filters": {
- "properties": {
- "advice": {},
- "adviceBasis": {},
- "bookId": {},
- "currency": {},
- "graded": {},
- "includePickemEntries": {},
- "league": {},
- "range": {},
- "recordKind": {},
- "result": {},
- "search": {},
- "source": {},
- "sport": {}
- },
- "required": [
- "range",
- "includePickemEntries",
- "recordKind",
- "advice",
- "adviceBasis",
- "result",
- "graded",
- "search",
- "currency",
- "source"
- ],
- "type": "object"
- },
- "generation": {
- "pattern": "^\\d{1,19}$",
- "type": "string"
- },
- "limitations": {
- "items": {},
- "maxItems": 8,
- "type": "array"
- },
- "minorUnits": {
- "maximum": 4,
- "minimum": 0,
- "type": "integer"
- },
- "reconstruction": {
- "const": "current_recorded_results",
- "type": "string"
- },
- "series": {
- "items": {},
- "maxItems": 10,
- "type": "array"
- },
- "source": {
- "enum": [
- "sportsbook_record",
- "provider_autograde",
- "self_reported"
- ],
- "type": "string"
- },
- "timezone": {
- "type": "string"
- },
- "undated": {
- "properties": {
- "basis": {},
- "knownNetMinor": {},
- "knownResults": {},
- "missingResults": {},
- "records": {}
- },
- "required": [
- "records",
- "knownResults",
- "missingResults",
- "knownNetMinor",
- "basis"
- ],
- "type": "object"
- },
- "version": {
- "const": "bsd-history-chart-v1",
- "type": "string"
- },
- "window": {
- "properties": {
- "basis": {},
- "from": {},
- "to": {}
- },
- "required": [
- "from",
- "to",
- "basis"
- ],
- "type": "object"
- }
- },
- "required": [
- "version",
- "generation",
- "asOf",
- "timezone",
- "currency",
- "minorUnits",
- "source",
- "filters",
- "window",
- "reconstruction",
- "bucketDays",
- "series",
- "undated",
- "limitations"
- ],
- "type": "object"
- },
- {
- "additionalProperties": {},
- "properties": {
- "amounts": {
- "properties": {
- "cashReturnMinor": {},
- "cashRiskMinor": {},
- "contractedProfitMinor": {},
- "realizedProfitMinor": {},
- "stakeMinor": {}
- },
- "required": [
- "stakeMinor",
- "cashRiskMinor",
- "contractedProfitMinor",
- "realizedProfitMinor",
- "cashReturnMinor"
- ],
- "type": "object"
- },
- "book": {
- "properties": {
- "abbr": {},
- "id": {},
- "name": {}
- },
- "required": [
- "id",
- "name",
- "abbr"
- ],
- "type": "object"
- },
- "currency": {
- "properties": {
- "code": {},
- "minorUnits": {},
- "source": {}
- },
- "required": [
- "code",
- "minorUnits",
- "source"
- ],
- "type": "object"
- },
- "currencyAnnotation": {
- "anyOf": [
- {
- "properties": {
- "confirmedAt": {},
- "currency": {},
- "importRevision": {},
- "recordId": {},
- "revision": {},
- "sourceDigest": {},
- "state": {}
- },
- "required": [
- "recordId",
- "importRevision",
- "sourceDigest",
- "currency",
- "revision",
- "confirmedAt",
- "state"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "duplicateLink": {
- "anyOf": [
- {
- "properties": {
- "confirmedAt": {},
- "importDigest": {},
- "importRecordId": {},
- "importRevision": {},
- "manualChangedSinceConfirmation": {},
- "manualRecordId": {},
- "manualRevision": {},
- "revision": {},
- "source": {}
- },
- "required": [
- "manualRecordId",
- "manualRevision",
- "revision",
- "importRecordId",
- "importRevision",
- "importDigest",
- "source",
- "confirmedAt",
- "manualChangedSinceConfirmation"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "id": {
- "format": "uuid",
- "type": "string"
- },
- "incomplete": {
- "type": "boolean"
- },
- "intent": {
- "enum": [
- "singles",
- "parlay"
- ],
- "type": "string"
- },
- "legs": {
- "items": {},
- "maxItems": 100,
- "type": "array"
- },
- "limitations": {
- "items": {},
- "maxItems": 12,
- "type": "array"
- },
- "linkedManualCount": {
- "default": 0,
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- "oddsAmerican": {
- "anyOf": [
- {
- "maximum": 1000000,
- "minimum": -1000000,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "original": {
- "properties": {
- "bookReference": {},
- "special": {},
- "subtype": {},
- "type": {}
- },
- "required": [
- "bookReference",
- "type",
- "subtype",
- "special"
- ],
- "type": "object"
- },
- "outcome": {
- "anyOf": [
- {
- "enum": [
- "win",
- "loss",
- "push",
- "void",
- "cashout",
- "halfwin",
- "halfloss"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "placement": {
- "enum": [
- "provider_record",
- "self_reported"
- ],
- "type": "string"
- },
- "recordKind": {
- "enum": [
- "import",
- "manual"
- ],
- "type": "string"
- },
- "revision": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "settlementSource": {
- "enum": [
- "sportsbook_record",
- "provider_autograde",
- "self_reported"
- ],
- "type": "string"
- },
- "sourceDigest": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- "status": {
- "enum": [
- "open",
- "settled"
- ],
- "type": "string"
- },
- "ticketId": {
- "anyOf": [
- {
- "format": "uuid",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "timeline": {
- "properties": {
- "firstRecordedAt": {},
- "observedAt": {},
- "placedAt": {},
- "settledAt": {},
- "settledDate": {}
- },
- "required": [
- "placedAt",
- "settledAt",
- "settledDate",
- "firstRecordedAt",
- "observedAt"
- ],
- "type": "object"
- },
- "title": {
- "maxLength": 500,
- "type": "string"
- },
- "version": {
- "const": "bsd-history-record-v1",
- "type": "string"
- }
- },
- "required": [
- "version",
- "id",
- "revision",
- "recordKind",
- "settlementSource",
- "placement",
- "currencyAnnotation",
- "duplicateLink",
- "linkedManualCount",
- "ticketId",
- "sourceDigest",
- "title",
- "book",
- "intent",
- "currency",
- "status",
- "outcome",
- "timeline",
- "amounts",
- "oddsAmerican",
- "legs",
- "incomplete",
- "limitations"
- ],
- "type": "object"
- },
- {
- "additionalProperties": {},
- "properties": {
- "generation": {
- "pattern": "^\\d{1,19}$",
- "type": "string"
- },
- "items": {
- "items": {},
- "maxItems": 25,
- "type": "array"
- },
- "limitations": {
- "items": {},
- "maxItems": 5,
- "type": "array"
- },
- "next": {
- "anyOf": [
- {
- "maxLength": 1500,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "record": {
- "properties": {
- "id": {},
- "kind": {},
- "placedAt": {},
- "revision": {},
- "sourceDigest": {}
- },
- "required": [
- "id",
- "kind",
- "revision",
- "sourceDigest",
- "placedAt"
- ],
- "type": "object"
- },
- "version": {
- "const": "bsd-history-doctor-decisions-v1",
- "type": "string"
- }
- },
- "required": [
- "version",
- "generation",
- "record",
- "items",
- "next",
- "limitations"
- ],
- "type": "object"
- },
- {
- "additionalProperties": {},
- "properties": {
- "items": {
- "items": {
- "additionalProperties": {},
- "properties": {
- "bookCode": {
- "type": [
- "string",
- "null"
- ]
- },
- "id": {
- "type": "string"
- },
- "originalScore": {
- "anyOf": [
- {
- "additionalProperties": {},
- "properties": {
- "meaning": {
- "type": "string"
- },
- "rank": {
- "type": "string"
- },
- "score": {
- "type": "number"
- }
- },
- "required": [
- "rank",
- "score",
- "meaning"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "savedAt": {
- "type": "string"
- },
- "storedBlobDigest": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "unavailableReason": {
- "anyOf": [
- {
- "const": "original_format_needs_reader",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "id",
- "storedBlobDigest",
- "title",
- "savedAt",
- "originalScore",
- "bookCode",
- "unavailableReason"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "next": {
- "anyOf": [
- {
- "additionalProperties": {},
- "properties": {
- "id": {},
- "updatedAt": {}
- },
- "required": [
- "updatedAt",
- "id"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "source": {
- "const": "saved_legacy_app_reports",
- "type": "string"
- },
- "version": {
- "const": "bsd-legacy-report-list-v1",
- "type": "string"
- }
- },
- "required": [
- "version",
- "items",
- "next",
- "source"
- ],
- "type": "object"
- },
- {
- "additionalProperties": {},
- "properties": {
- "bookCode": {
- "type": [
- "string",
- "null"
- ]
- },
- "canRegradeWithoutConfirmation": {
- "const": false,
- "type": "boolean"
- },
- "combinedOdds": {
- "type": [
- "string",
- "null"
- ]
- },
- "confirmedPlacement": {
- "const": false,
- "type": "boolean"
- },
- "currency": {
- "type": "null"
- },
- "explanation": {
- "additionalProperties": {},
- "properties": {
- "evidence": {},
- "verdict": {},
- "whyThisRank": {}
- },
- "required": [
- "verdict",
- "whyThisRank",
- "evidence"
- ],
- "type": "object"
- },
- "id": {
- "type": "string"
- },
- "legs": {
- "items": {},
- "type": "array"
- },
- "limitations": {
- "items": {},
- "type": "array"
- },
- "originalDepth": {
- "type": [
- "string",
- "null"
- ]
- },
- "originalReferences": {
- "additionalProperties": {},
- "properties": {
- "analysisId": {},
- "betId": {},
- "jobId": {},
- "reportId": {},
- "ticketId": {},
- "ticketRevision": {}
- },
- "required": [
- "analysisId",
- "jobId",
- "reportId",
- "ticketId",
- "betId",
- "ticketRevision"
- ],
- "type": "object"
- },
- "originalResponse": {
- "additionalProperties": {},
- "properties": {},
- "type": "object"
- },
- "originalScore": {
- "anyOf": [
- {
- "additionalProperties": {},
- "properties": {
- "meaning": {},
- "rank": {},
- "score": {}
- },
- "required": [
- "rank",
- "score",
- "meaning"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "originalStake": {
- "type": [
- "number",
- "null"
- ]
- },
- "responseDigest": {
- "type": "string"
- },
- "savedAt": {
- "type": "string"
- },
- "slipText": {
- "type": "string"
- },
- "source": {
- "const": "saved_legacy_app_report",
- "type": "string"
- },
- "sourceDigest": {
- "type": "string"
- },
- "storedBlobDigest": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "version": {
- "const": "bsd-legacy-report-view-v1",
- "type": "string"
- }
- },
- "required": [
- "version",
- "id",
- "savedAt",
- "source",
- "sourceDigest",
- "responseDigest",
- "storedBlobDigest",
- "title",
- "slipText",
- "legs",
- "originalScore",
- "originalDepth",
- "bookCode",
- "combinedOdds",
- "originalStake",
- "currency",
- "explanation",
- "originalResponse",
- "originalReferences",
- "canRegradeWithoutConfirmation",
- "confirmedPlacement",
- "limitations"
- ],
- "type": "object"
- },
- {
- "additionalProperties": {},
- "properties": {
- "generation": {
- "type": "string"
- },
- "items": {
- "items": {
- "additionalProperties": {},
- "properties": {
- "item": {},
- "latestDoctor": {},
- "match": {},
- "metadata": {
- "properties": {
- "bookmarked": {
- "type": "boolean"
- },
- "notes": {
- "maxLength": 4000,
- "type": "string"
- },
- "record": {
- "properties": {
- "id": {},
- "kind": {}
- },
- "required": [
- "kind",
- "id"
- ],
- "type": "object"
- },
- "revision": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "tags": {
- "items": {},
- "maxItems": 20,
- "type": "array"
- },
- "updatedAt": {
- "anyOf": [
- {
- "format": "date-time",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "notes",
- "tags",
- "bookmarked",
- "record",
- "revision",
- "updatedAt"
- ],
- "type": "object"
- },
- "origin": {},
- "reasons": {}
- },
- "required": [
- "item",
- "origin",
- "metadata",
- "latestDoctor",
- "match",
- "reasons"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "next": {
- "type": [
- "string",
- "null"
- ]
- },
- "total": {
- "type": "number"
- },
- "version": {
- "const": "bsd-history-recall-page-v1",
- "type": "string"
- }
- },
- "required": [
- "version",
- "generation",
- "items",
- "total",
- "next"
- ],
- "type": "object"
- },
- {
- "additionalProperties": {},
- "properties": {
- "generation": {
- "type": "string"
- },
- "records": {
- "type": "number"
- },
- "revisit": {
- "items": {},
- "type": "array"
- },
- "version": {
- "const": "bsd-history-recall-week-v1",
- "type": "string"
- },
- "weekStart": {
- "type": "string"
- }
- },
- "required": [
- "version",
- "generation",
- "weekStart",
- "records",
- "revisit"
- ],
- "type": "object"
- },
- {
- "additionalProperties": {},
- "properties": {
- "events": {
- "items": {},
- "type": "array"
- },
- "generation": {
- "type": "string"
- },
- "metadata": {
- "properties": {
- "bookmarked": {},
- "notes": {},
- "record": {},
- "revision": {},
- "tags": {},
- "updatedAt": {}
- },
- "required": [
- "notes",
- "tags",
- "bookmarked",
- "record",
- "revision",
- "updatedAt"
- ],
- "type": "object"
- },
- "origin": {
- "enum": [
- "original",
- "tail",
- "fade",
- "unknown"
- ],
- "type": "string"
- },
- "record": {
- "$ref": "#/$defs/s0"
- },
- "version": {
- "const": "bsd-history-recall-detail-v1",
- "type": "string"
- }
- },
- "required": [
- "version",
- "generation",
- "record",
- "metadata",
- "origin",
- "events"
- ],
- "type": "object"
- },
- {
- "additionalProperties": {},
- "properties": {
- "currentCash": {
- "anyOf": [
- {
- "properties": {
- "amountMinor": {},
- "currency": {},
- "minorUnits": {},
- "source": {},
- "state": {}
- },
- "required": [
- "state",
- "amountMinor",
- "currency",
- "minorUnits",
- "source"
- ],
- "type": "object"
- },
- {
- "properties": {
- "reason": {},
- "state": {}
- },
- "required": [
- "state",
- "reason"
- ],
- "type": "object"
- }
- ]
- },
- "items": {
- "items": {},
- "maxItems": 50,
- "type": "array"
- },
- "page": {
- "properties": {
- "adviceBasis": {},
- "adviceFilter": {},
- "asOf": {},
- "generation": {},
- "items": {},
- "limitations": {},
- "next": {},
- "pickemEntries": {},
- "timezone": {},
- "version": {},
- "window": {}
- },
- "required": [
- "version",
- "adviceFilter",
- "adviceBasis",
- "generation",
- "asOf",
- "timezone",
- "window",
- "items",
- "next",
- "limitations"
- ],
- "type": "object"
- },
- "ticket": {
- "properties": {
- "id": {},
- "inputDigest": {}
- },
- "required": [
- "id",
- "inputDigest"
- ],
- "type": "object"
- },
- "version": {
- "const": "bsd-grade-history-comparison-v1",
- "type": "string"
- }
- },
- "required": [
- "version",
- "ticket",
- "page",
- "currentCash",
- "items"
- ],
- "type": "object"
- },
- {
- "additionalProperties": {},
- "properties": {
- "generation": {
- "pattern": "^\\d{1,19}$",
- "type": "string"
- },
- "items": {
- "items": {},
- "maxItems": 25,
- "type": "array"
- },
- "version": {
- "const": "bsd-history-doctor-overview-v1",
- "type": "string"
- }
- },
- "required": [
- "version",
- "generation",
- "items"
- ],
- "type": "object"
- },
- {
- "additionalProperties": {},
- "properties": {
- "currentImportRevision": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "generation": {
- "pattern": "^\\d{1,19}$",
- "type": "string"
- },
- "importRecordId": {
- "format": "uuid",
- "type": "string"
- },
- "items": {
- "items": {},
- "maxItems": 100,
- "type": "array"
- },
- "version": {
- "const": "bsd-history-overlap-list-v1",
- "type": "string"
- }
- },
- "required": [
- "version",
- "importRecordId",
- "currentImportRevision",
- "generation",
- "items"
- ],
- "type": "object"
- },
- {
- "additionalProperties": {},
- "properties": {
- "items": {
- "items": {},
- "type": "array"
- },
- "next": {
- "anyOf": [
- {
- "additionalProperties": {},
- "properties": {
- "createdAt": {},
- "id": {}
- },
- "required": [
- "createdAt",
- "id"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "version": {
- "not": {}
- }
- },
- "required": [
- "items",
- "next"
- ],
- "type": "object"
- }
- ]
- },
- {
- "additionalProperties": false,
- "properties": {
- "error": {
- "properties": {
- "code": {
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ],
- "type": "object"
- }
- },
- "required": [
- "error"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "adviceBasis": {
+ "enum": [
+ "current_response",
+ "recorded_before_placement"
+ ],
+ "type": "string"
+ },
+ "adviceFilter": {
+ "enum": [
+ "all",
+ "unknown",
+ "unseen",
+ "viewed",
+ "followed",
+ "modified",
+ "rejected"
+ ],
+ "type": "string"
+ },
+ "asOf": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "generation": {
+ "pattern": "^\\d{1,19}$",
+ "type": "string"
+ },
+ "groups": {
+ "items": {},
+ "maxItems": 600,
+ "type": "array"
+ },
+ "limitations": {
+ "items": {},
+ "maxItems": 10,
+ "type": "array"
+ },
+ "record": {
+ "properties": {
+ "basis": {},
+ "losses": {},
+ "pushes": {},
+ "settled": {},
+ "units": {},
+ "unresolved": {},
+ "wins": {}
+ },
+ "required": [
+ "basis",
+ "wins",
+ "losses",
+ "pushes",
+ "settled",
+ "unresolved",
+ "units"
+ ],
+ "type": "object"
+ },
+ "timezone": {
+ "type": "string"
+ },
+ "undated": {
+ "properties": {
+ "basis": {},
+ "open": {},
+ "settled": {}
+ },
+ "required": [
+ "open",
+ "settled",
+ "basis"
+ ],
+ "type": "object"
+ },
+ "version": {
+ "const": "bsd-history-summary-v1",
+ "type": "string"
+ },
+ "window": {
+ "properties": {
+ "basis": {},
+ "from": {},
+ "to": {}
+ },
+ "required": [
+ "from",
+ "to",
+ "basis"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "version",
+ "adviceFilter",
+ "adviceBasis",
+ "generation",
+ "asOf",
+ "timezone",
+ "window",
+ "groups",
+ "undated",
+ "limitations"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "adviceBasis": {
+ "enum": [
+ "current_response",
+ "recorded_before_placement"
+ ],
+ "type": "string"
+ },
+ "adviceFilter": {
+ "enum": [
+ "all",
+ "unknown",
+ "unseen",
+ "viewed",
+ "followed",
+ "modified",
+ "rejected"
+ ],
+ "type": "string"
+ },
+ "asOf": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "generation": {
+ "pattern": "^\\d{1,19}$",
+ "type": "string"
+ },
+ "items": {
+ "items": {},
+ "maxItems": 50,
+ "type": "array"
+ },
+ "limitations": {
+ "items": {},
+ "maxItems": 8,
+ "type": "array"
+ },
+ "next": {
+ "anyOf": [
+ {
+ "maxLength": 2000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "pickemEntries": {
+ "items": {},
+ "maxItems": 50,
+ "type": "array"
+ },
+ "timezone": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "version": {
+ "const": "bsd-history-list-v1",
+ "type": "string"
+ },
+ "window": {
+ "properties": {
+ "basis": {},
+ "from": {},
+ "to": {}
+ },
+ "required": [
+ "from",
+ "to",
+ "basis"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "version",
+ "adviceFilter",
+ "adviceBasis",
+ "generation",
+ "asOf",
+ "timezone",
+ "window",
+ "items",
+ "next",
+ "limitations"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "asOf": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "generation": {
+ "pattern": "^\\d{1,19}$",
+ "type": "string"
+ },
+ "items": {
+ "items": {},
+ "maxItems": 10,
+ "type": "array"
+ },
+ "limitations": {
+ "items": {},
+ "maxItems": 6,
+ "type": "array"
+ },
+ "rollup": {
+ "properties": {
+ "bets": {},
+ "currencies": {},
+ "lost": {},
+ "net": {},
+ "open": {},
+ "other": {},
+ "push": {},
+ "won": {}
+ },
+ "required": [
+ "bets",
+ "won",
+ "lost",
+ "push",
+ "open",
+ "other",
+ "net",
+ "currencies"
+ ],
+ "type": "object"
+ },
+ "timezone": {
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "version": {
+ "const": "bsd-history-after-advice-v1",
+ "type": "string"
+ },
+ "window": {
+ "properties": {
+ "basis": {},
+ "from": {},
+ "to": {}
+ },
+ "required": [
+ "from",
+ "to",
+ "basis"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "version",
+ "generation",
+ "asOf",
+ "timezone",
+ "window",
+ "rollup",
+ "items",
+ "limitations"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "generation": {
+ "pattern": "^\\d{1,19}$",
+ "type": "string"
+ },
+ "items": {
+ "items": {},
+ "maxItems": 25,
+ "type": "array"
+ },
+ "limitations": {
+ "items": {},
+ "maxItems": 8,
+ "type": "array"
+ },
+ "next": {
+ "anyOf": [
+ {
+ "maxLength": 1500,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "record": {
+ "properties": {
+ "id": {},
+ "kind": {},
+ "placedAt": {},
+ "placementSource": {},
+ "revision": {},
+ "sourceDigest": {}
+ },
+ "required": [
+ "id",
+ "kind",
+ "revision",
+ "sourceDigest",
+ "placedAt",
+ "placementSource"
+ ],
+ "type": "object"
+ },
+ "summary": {
+ "properties": {
+ "firstDisplayAcknowledgementsBeforePlacement": {},
+ "laterResponseCorrections": {},
+ "reportedStateBeforePlacement": {},
+ "reportsAvailableAtOrAfterPlacement": {},
+ "reportsAvailableBeforePlacement": {},
+ "reportsWithUnknownPlacementTime": {},
+ "responsesRecordedBeforePlacement": {},
+ "totalReports": {}
+ },
+ "required": [
+ "totalReports",
+ "reportsAvailableBeforePlacement",
+ "reportsAvailableAtOrAfterPlacement",
+ "reportsWithUnknownPlacementTime",
+ "firstDisplayAcknowledgementsBeforePlacement",
+ "responsesRecordedBeforePlacement",
+ "laterResponseCorrections",
+ "reportedStateBeforePlacement"
+ ],
+ "type": "object"
+ },
+ "version": {
+ "const": "bsd-history-advice-v1",
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "generation",
+ "record",
+ "summary",
+ "items",
+ "next",
+ "limitations"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "adherence": {
+ "properties": {
+ "basis": {},
+ "reason": {},
+ "record": {},
+ "sources": {},
+ "state": {},
+ "version": {}
+ },
+ "required": [
+ "version",
+ "record",
+ "state",
+ "basis",
+ "sources",
+ "reason"
+ ],
+ "type": "object"
+ },
+ "doctorAdvice": {
+ "properties": {
+ "generation": {},
+ "items": {},
+ "limitations": {},
+ "next": {},
+ "record": {},
+ "version": {}
+ },
+ "required": [
+ "version",
+ "generation",
+ "record",
+ "items",
+ "next",
+ "limitations"
+ ],
+ "type": "object"
+ },
+ "generation": {
+ "pattern": "^\\d{1,19}$",
+ "type": "string"
+ },
+ "grade": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/s1"
+ },
+ {
+ "$ref": "#/$defs/s1"
+ },
+ {
+ "properties": {
+ "reason": {},
+ "record": {},
+ "report": {},
+ "state": {},
+ "version": {}
+ },
+ "required": [
+ "version",
+ "record",
+ "state",
+ "reason",
+ "report"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "gradeAdvice": {
+ "properties": {
+ "generation": {},
+ "items": {},
+ "limitations": {},
+ "next": {},
+ "record": {},
+ "summary": {},
+ "version": {}
+ },
+ "required": [
+ "version",
+ "generation",
+ "record",
+ "summary",
+ "items",
+ "next",
+ "limitations"
+ ],
+ "type": "object"
+ },
+ "record": {
+ "$ref": "#/$defs/s0"
+ },
+ "unitSetting": {
+ "properties": {
+ "basis": {},
+ "source": {},
+ "unitMinor": {}
+ },
+ "required": [
+ "basis",
+ "source",
+ "unitMinor"
+ ],
+ "type": "object"
+ },
+ "units": {
+ "properties": {
+ "basis": {},
+ "knownRecords": {},
+ "missingRecords": {},
+ "reason": {},
+ "state": {},
+ "value": {},
+ "version": {}
+ },
+ "required": [
+ "version",
+ "basis",
+ "knownRecords",
+ "missingRecords",
+ "state",
+ "reason",
+ "value"
+ ],
+ "type": "object"
+ },
+ "version": {
+ "const": "bsd-history-record-context-v1",
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "generation",
+ "record",
+ "grade",
+ "adherence",
+ "unitSetting",
+ "units",
+ "gradeAdvice",
+ "doctorAdvice"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "context": {
+ "properties": {
+ "adherence": {},
+ "doctorAdvice": {},
+ "generation": {},
+ "grade": {},
+ "gradeAdvice": {},
+ "record": {},
+ "unitSetting": {},
+ "units": {},
+ "version": {}
+ },
+ "required": [
+ "version",
+ "generation",
+ "record",
+ "grade",
+ "adherence",
+ "unitSetting",
+ "units",
+ "gradeAdvice",
+ "doctorAdvice"
+ ],
+ "type": "object"
+ },
+ "placementUnits": {
+ "properties": {
+ "basis": {},
+ "netUnits": {},
+ "placedAt": {},
+ "reason": {},
+ "recordId": {},
+ "recordKind": {},
+ "stakeUnits": {},
+ "state": {},
+ "unitEffectiveAt": {},
+ "version": {}
+ },
+ "required": [
+ "version",
+ "recordKind",
+ "recordId",
+ "basis",
+ "placedAt",
+ "unitEffectiveAt",
+ "stakeUnits",
+ "netUnits",
+ "state",
+ "reason"
+ ],
+ "type": "object"
+ },
+ "version": {
+ "const": "bsd-history-placement-context-v2",
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "context",
+ "placementUnits"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "groups": {
+ "items": {},
+ "maxItems": 600,
+ "type": "array"
+ },
+ "summary": {
+ "properties": {
+ "adviceBasis": {},
+ "adviceFilter": {},
+ "asOf": {},
+ "generation": {},
+ "groups": {},
+ "limitations": {},
+ "record": {},
+ "timezone": {},
+ "undated": {},
+ "version": {},
+ "window": {}
+ },
+ "required": [
+ "version",
+ "adviceFilter",
+ "adviceBasis",
+ "generation",
+ "asOf",
+ "timezone",
+ "window",
+ "groups",
+ "undated",
+ "limitations"
+ ],
+ "type": "object"
+ },
+ "unitSetting": {
+ "properties": {
+ "basis": {},
+ "source": {},
+ "unitMinor": {}
+ },
+ "required": [
+ "basis",
+ "source",
+ "unitMinor"
+ ],
+ "type": "object"
+ },
+ "version": {
+ "const": "bsd-history-units-summary-v1",
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "summary",
+ "unitSetting",
+ "groups"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "asOf": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "bucketDays": {
+ "anyOf": [
+ {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "currency": {
+ "type": "string"
+ },
+ "filters": {
+ "properties": {
+ "advice": {},
+ "adviceBasis": {},
+ "bookId": {},
+ "currency": {},
+ "graded": {},
+ "includePickemEntries": {},
+ "league": {},
+ "market": {},
+ "player": {},
+ "range": {},
+ "recordKind": {},
+ "result": {},
+ "search": {},
+ "source": {},
+ "sport": {},
+ "structure": {}
+ },
+ "required": [
+ "range",
+ "includePickemEntries",
+ "recordKind",
+ "advice",
+ "adviceBasis",
+ "result",
+ "graded",
+ "search",
+ "currency",
+ "source"
+ ],
+ "type": "object"
+ },
+ "generation": {
+ "pattern": "^\\d{1,19}$",
+ "type": "string"
+ },
+ "limitations": {
+ "items": {},
+ "maxItems": 8,
+ "type": "array"
+ },
+ "minorUnits": {
+ "maximum": 4,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "reconstruction": {
+ "const": "current_recorded_results",
+ "type": "string"
+ },
+ "series": {
+ "items": {},
+ "maxItems": 10,
+ "type": "array"
+ },
+ "source": {
+ "enum": [
+ "sportsbook_record",
+ "provider_autograde",
+ "self_reported"
+ ],
+ "type": "string"
+ },
+ "timezone": {
+ "type": "string"
+ },
+ "undated": {
+ "properties": {
+ "basis": {},
+ "knownNetMinor": {},
+ "knownResults": {},
+ "missingResults": {},
+ "records": {}
+ },
+ "required": [
+ "records",
+ "knownResults",
+ "missingResults",
+ "knownNetMinor",
+ "basis"
+ ],
+ "type": "object"
+ },
+ "version": {
+ "const": "bsd-history-chart-v1",
+ "type": "string"
+ },
+ "window": {
+ "properties": {
+ "basis": {},
+ "from": {},
+ "to": {}
+ },
+ "required": [
+ "from",
+ "to",
+ "basis"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "version",
+ "generation",
+ "asOf",
+ "timezone",
+ "currency",
+ "minorUnits",
+ "source",
+ "filters",
+ "window",
+ "reconstruction",
+ "bucketDays",
+ "series",
+ "undated",
+ "limitations"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "amounts": {
+ "properties": {
+ "cashReturnMinor": {},
+ "cashRiskMinor": {},
+ "contractedProfitMinor": {},
+ "realizedProfitMinor": {},
+ "stakeMinor": {}
+ },
+ "required": [
+ "stakeMinor",
+ "cashRiskMinor",
+ "contractedProfitMinor",
+ "realizedProfitMinor",
+ "cashReturnMinor"
+ ],
+ "type": "object"
+ },
+ "book": {
+ "properties": {
+ "abbr": {},
+ "id": {},
+ "name": {}
+ },
+ "required": [
+ "id",
+ "name",
+ "abbr"
+ ],
+ "type": "object"
+ },
+ "currency": {
+ "properties": {
+ "code": {},
+ "minorUnits": {},
+ "source": {}
+ },
+ "required": [
+ "code",
+ "minorUnits",
+ "source"
+ ],
+ "type": "object"
+ },
+ "currencyAnnotation": {
+ "anyOf": [
+ {
+ "properties": {
+ "confirmedAt": {},
+ "currency": {},
+ "importRevision": {},
+ "recordId": {},
+ "revision": {},
+ "sourceDigest": {},
+ "state": {}
+ },
+ "required": [
+ "recordId",
+ "importRevision",
+ "sourceDigest",
+ "currency",
+ "revision",
+ "confirmedAt",
+ "state"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "duplicateLink": {
+ "anyOf": [
+ {
+ "properties": {
+ "confirmedAt": {},
+ "importDigest": {},
+ "importRecordId": {},
+ "importRevision": {},
+ "manualChangedSinceConfirmation": {},
+ "manualRecordId": {},
+ "manualRevision": {},
+ "revision": {},
+ "source": {}
+ },
+ "required": [
+ "manualRecordId",
+ "manualRevision",
+ "revision",
+ "importRecordId",
+ "importRevision",
+ "importDigest",
+ "source",
+ "confirmedAt",
+ "manualChangedSinceConfirmation"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "id": {
+ "format": "uuid",
+ "type": "string"
+ },
+ "incomplete": {
+ "type": "boolean"
+ },
+ "intent": {
+ "enum": [
+ "singles",
+ "parlay"
+ ],
+ "type": "string"
+ },
+ "legs": {
+ "items": {},
+ "maxItems": 100,
+ "type": "array"
+ },
+ "limitations": {
+ "items": {},
+ "maxItems": 12,
+ "type": "array"
+ },
+ "linkedManualCount": {
+ "default": 0,
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "oddsAmerican": {
+ "anyOf": [
+ {
+ "maximum": 1000000,
+ "minimum": -1000000,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "original": {
+ "properties": {
+ "bookReference": {},
+ "special": {},
+ "subtype": {},
+ "type": {}
+ },
+ "required": [
+ "bookReference",
+ "type",
+ "subtype",
+ "special"
+ ],
+ "type": "object"
+ },
+ "outcome": {
+ "anyOf": [
+ {
+ "enum": [
+ "win",
+ "loss",
+ "push",
+ "void",
+ "cashout",
+ "halfwin",
+ "halfloss"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "placement": {
+ "enum": [
+ "provider_record",
+ "self_reported"
+ ],
+ "type": "string"
+ },
+ "recordKind": {
+ "enum": [
+ "import",
+ "manual"
+ ],
+ "type": "string"
+ },
+ "revision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "settlementSource": {
+ "enum": [
+ "sportsbook_record",
+ "provider_autograde",
+ "self_reported"
+ ],
+ "type": "string"
+ },
+ "sourceDigest": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "open",
+ "settled"
+ ],
+ "type": "string"
+ },
+ "ticketId": {
+ "anyOf": [
+ {
+ "format": "uuid",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "timeline": {
+ "properties": {
+ "firstRecordedAt": {},
+ "observedAt": {},
+ "placedAt": {},
+ "settledAt": {},
+ "settledDate": {}
+ },
+ "required": [
+ "placedAt",
+ "settledAt",
+ "settledDate",
+ "firstRecordedAt",
+ "observedAt"
+ ],
+ "type": "object"
+ },
+ "title": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "version": {
+ "const": "bsd-history-record-v1",
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "id",
+ "revision",
+ "recordKind",
+ "settlementSource",
+ "placement",
+ "currencyAnnotation",
+ "duplicateLink",
+ "linkedManualCount",
+ "ticketId",
+ "sourceDigest",
+ "title",
+ "book",
+ "intent",
+ "currency",
+ "status",
+ "outcome",
+ "timeline",
+ "amounts",
+ "oddsAmerican",
+ "legs",
+ "incomplete",
+ "limitations"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "generation": {
+ "pattern": "^\\d{1,19}$",
+ "type": "string"
+ },
+ "items": {
+ "items": {},
+ "maxItems": 25,
+ "type": "array"
+ },
+ "limitations": {
+ "items": {},
+ "maxItems": 5,
+ "type": "array"
+ },
+ "next": {
+ "anyOf": [
+ {
+ "maxLength": 1500,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "record": {
+ "properties": {
+ "id": {},
+ "kind": {},
+ "placedAt": {},
+ "revision": {},
+ "sourceDigest": {}
+ },
+ "required": [
+ "id",
+ "kind",
+ "revision",
+ "sourceDigest",
+ "placedAt"
+ ],
+ "type": "object"
+ },
+ "version": {
+ "const": "bsd-history-doctor-decisions-v1",
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "generation",
+ "record",
+ "items",
+ "next",
+ "limitations"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "items": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "bookCode": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "originalScore": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "meaning": {
+ "type": "string"
+ },
+ "rank": {
+ "type": "string"
+ },
+ "score": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "rank",
+ "score",
+ "meaning"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "savedAt": {
+ "type": "string"
+ },
+ "storedBlobDigest": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "unavailableReason": {
+ "anyOf": [
+ {
+ "const": "original_format_needs_reader",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "storedBlobDigest",
+ "title",
+ "savedAt",
+ "originalScore",
+ "bookCode",
+ "unavailableReason"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "next": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "id": {},
+ "updatedAt": {}
+ },
+ "required": [
+ "updatedAt",
+ "id"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "source": {
+ "const": "saved_legacy_app_reports",
+ "type": "string"
+ },
+ "version": {
+ "const": "bsd-legacy-report-list-v1",
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "items",
+ "next",
+ "source"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "bookCode": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "canRegradeWithoutConfirmation": {
+ "const": false,
+ "type": "boolean"
+ },
+ "combinedOdds": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "confirmedPlacement": {
+ "const": false,
+ "type": "boolean"
+ },
+ "currency": {
+ "type": "null"
+ },
+ "explanation": {
+ "additionalProperties": {},
+ "properties": {
+ "evidence": {},
+ "verdict": {},
+ "whyThisRank": {}
+ },
+ "required": [
+ "verdict",
+ "whyThisRank",
+ "evidence"
+ ],
+ "type": "object"
+ },
+ "id": {
+ "type": "string"
+ },
+ "legs": {
+ "items": {},
+ "type": "array"
+ },
+ "limitations": {
+ "items": {},
+ "type": "array"
+ },
+ "originalDepth": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "originalReferences": {
+ "additionalProperties": {},
+ "properties": {
+ "analysisId": {},
+ "betId": {},
+ "jobId": {},
+ "reportId": {},
+ "ticketId": {},
+ "ticketRevision": {}
+ },
+ "required": [
+ "analysisId",
+ "jobId",
+ "reportId",
+ "ticketId",
+ "betId",
+ "ticketRevision"
+ ],
+ "type": "object"
+ },
+ "originalResponse": {
+ "additionalProperties": {},
+ "properties": {},
+ "type": "object"
+ },
+ "originalScore": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "meaning": {},
+ "rank": {},
+ "score": {}
+ },
+ "required": [
+ "rank",
+ "score",
+ "meaning"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "originalStake": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "responseDigest": {
+ "type": "string"
+ },
+ "savedAt": {
+ "type": "string"
+ },
+ "slipText": {
+ "type": "string"
+ },
+ "source": {
+ "const": "saved_legacy_app_report",
+ "type": "string"
+ },
+ "sourceDigest": {
+ "type": "string"
+ },
+ "storedBlobDigest": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "version": {
+ "const": "bsd-legacy-report-view-v1",
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "id",
+ "savedAt",
+ "source",
+ "sourceDigest",
+ "responseDigest",
+ "storedBlobDigest",
+ "title",
+ "slipText",
+ "legs",
+ "originalScore",
+ "originalDepth",
+ "bookCode",
+ "combinedOdds",
+ "originalStake",
+ "currency",
+ "explanation",
+ "originalResponse",
+ "originalReferences",
+ "canRegradeWithoutConfirmation",
+ "confirmedPlacement",
+ "limitations"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "generation": {
+ "type": "string"
+ },
+ "items": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "item": {},
+ "latestDoctor": {},
+ "match": {},
+ "metadata": {
+ "properties": {
+ "bookmarked": {
+ "type": "boolean"
+ },
+ "notes": {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "record": {
+ "properties": {
+ "id": {},
+ "kind": {}
+ },
+ "required": [
+ "kind",
+ "id"
+ ],
+ "type": "object"
+ },
+ "revision": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "tags": {
+ "items": {},
+ "maxItems": 20,
+ "type": "array"
+ },
+ "updatedAt": {
+ "anyOf": [
+ {
+ "format": "date-time",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "notes",
+ "tags",
+ "bookmarked",
+ "record",
+ "revision",
+ "updatedAt"
+ ],
+ "type": "object"
+ },
+ "origin": {},
+ "reasons": {}
+ },
+ "required": [
+ "item",
+ "origin",
+ "metadata",
+ "latestDoctor",
+ "match",
+ "reasons"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "next": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "total": {
+ "type": "number"
+ },
+ "version": {
+ "const": "bsd-history-recall-page-v1",
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "generation",
+ "items",
+ "total",
+ "next"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "generation": {
+ "type": "string"
+ },
+ "records": {
+ "type": "number"
+ },
+ "revisit": {
+ "items": {},
+ "type": "array"
+ },
+ "version": {
+ "const": "bsd-history-recall-week-v1",
+ "type": "string"
+ },
+ "weekStart": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "generation",
+ "weekStart",
+ "records",
+ "revisit"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "events": {
+ "items": {},
+ "type": "array"
+ },
+ "generation": {
+ "type": "string"
+ },
+ "metadata": {
+ "properties": {
+ "bookmarked": {},
+ "notes": {},
+ "record": {},
+ "revision": {},
+ "tags": {},
+ "updatedAt": {}
+ },
+ "required": [
+ "notes",
+ "tags",
+ "bookmarked",
+ "record",
+ "revision",
+ "updatedAt"
+ ],
+ "type": "object"
+ },
+ "origin": {
+ "enum": [
+ "original",
+ "tail",
+ "fade",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "record": {
+ "$ref": "#/$defs/s0"
+ },
+ "version": {
+ "const": "bsd-history-recall-detail-v1",
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "generation",
+ "record",
+ "metadata",
+ "origin",
+ "events"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "currentCash": {
+ "anyOf": [
+ {
+ "properties": {
+ "amountMinor": {},
+ "currency": {},
+ "minorUnits": {},
+ "source": {},
+ "state": {}
+ },
+ "required": [
+ "state",
+ "amountMinor",
+ "currency",
+ "minorUnits",
+ "source"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "reason": {},
+ "state": {}
+ },
+ "required": [
+ "state",
+ "reason"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "items": {
+ "items": {},
+ "maxItems": 50,
+ "type": "array"
+ },
+ "page": {
+ "properties": {
+ "adviceBasis": {},
+ "adviceFilter": {},
+ "asOf": {},
+ "generation": {},
+ "items": {},
+ "limitations": {},
+ "next": {},
+ "pickemEntries": {},
+ "timezone": {},
+ "version": {},
+ "window": {}
+ },
+ "required": [
+ "version",
+ "adviceFilter",
+ "adviceBasis",
+ "generation",
+ "asOf",
+ "timezone",
+ "window",
+ "items",
+ "next",
+ "limitations"
+ ],
+ "type": "object"
+ },
+ "ticket": {
+ "properties": {
+ "id": {},
+ "inputDigest": {}
+ },
+ "required": [
+ "id",
+ "inputDigest"
+ ],
+ "type": "object"
+ },
+ "version": {
+ "const": "bsd-grade-history-comparison-v1",
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "ticket",
+ "page",
+ "currentCash",
+ "items"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "generation": {
+ "pattern": "^\\d{1,19}$",
+ "type": "string"
+ },
+ "items": {
+ "items": {},
+ "maxItems": 25,
+ "type": "array"
+ },
+ "version": {
+ "const": "bsd-history-doctor-overview-v1",
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "generation",
+ "items"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "currentImportRevision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "generation": {
+ "pattern": "^\\d{1,19}$",
+ "type": "string"
+ },
+ "importRecordId": {
+ "format": "uuid",
+ "type": "string"
+ },
+ "items": {
+ "items": {},
+ "maxItems": 100,
+ "type": "array"
+ },
+ "version": {
+ "const": "bsd-history-overlap-list-v1",
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "importRecordId",
+ "currentImportRevision",
+ "generation",
+ "items"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "items": {
+ "items": {},
+ "type": "array"
+ },
+ "next": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "createdAt": {},
+ "id": {}
+ },
+ "required": [
+ "createdAt",
+ "id"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "version": {
+ "not": {}
+ }
+ },
+ "required": [
+ "items",
+ "next"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "error": {
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "message"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "error"
+ ],
+ "type": "object"
+ }
+]