changedOutput schema / properties / allCards / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "assumptions": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "categoryNote": {
- "type": [
- "string",
- "null"
- ]
- },
- "credits": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "amount": {
- "type": "number"
- },
- "annualFee": {
- "type": [
- "number",
- "null"
- ]
- },
- "back": {
- "type": "string"
- },
- "cardId": {
- "type": "string"
- },
- "cardName": {
- "type": "string"
- },
- "creditId": {
- "type": "string"
- },
- "earn": {
- "type": "string"
- },
- "enroll": {
- "type": "boolean"
- },
- "evidence": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "quote": {
- "type": "string"
- },
- "url": {
- "type": "string"
- }
- },
- "required": [
- "quote",
- "url"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "firstYearFee": {
- "type": [
- "number",
- "null"
- ]
- },
- "issuer": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "network": {
- "enum": [
- "visa",
- "mastercard",
- "amex",
- "discover",
- "store"
- ],
- "type": "string"
- },
- "note": {
- "type": [
- "string",
- "null"
- ]
- },
- "period": {
- "enum": [
- "month",
- "quarter",
- "calendar_year",
- "cardmember_year",
- "half_year"
- ],
- "type": "string"
- },
- "terms": {
- "type": "string"
- },
- "text": {
- "type": "string"
- }
- },
- "required": [
- "cardId",
- "cardName",
- "issuer",
- "network",
- "annualFee",
- "firstYearFee",
- "creditId",
- "name",
- "amount",
- "period",
- "enroll",
- "note",
- "back",
- "terms",
- "earn",
- "text",
- "evidence"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "excluded": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "cardId": {
- "type": "string"
- },
- "cardName": {
- "type": "string"
- },
- "checkoutLabel": {
- "type": [
- "string",
- "null"
- ]
- },
- "network": {
- "enum": [
- "visa",
- "mastercard",
- "amex",
- "discover"
- ],
- "type": "string"
- },
- "reason": {
- "type": "string"
- }
- },
- "required": [
- "cardId",
- "cardName",
- "checkoutLabel",
- "network",
- "reason"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "ifPaying": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "cardId": {
- "type": "string"
- },
- "cardName": {
- "type": "string"
- },
- "earn": {
- "type": "string"
- },
- "payment": {
- "type": "string"
- }
- },
- "required": [
- "cardId",
- "cardName",
- "payment",
- "earn"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "membersOnly": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "annualFee": {
- "type": [
- "number",
- "null"
- ]
- },
- "capped": {
- "type": "boolean"
- },
- "cardId": {
- "type": "string"
- },
- "cardName": {
- "type": "string"
- },
- "centsPerUnit": {
- "type": "number"
- },
- "checkoutLabel": {
- "type": [
- "string",
- "null"
- ]
- },
- "conditions": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "credit": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "amount": {
- "type": "number"
- },
- "dollars": {
- "type": [
- "number",
- "null"
- ]
- },
- "enrolled": {
- "type": "boolean"
- },
- "id": {
- "type": "string"
- },
- "left": {
- "type": [
- "number",
- "null"
- ]
- },
- "name": {
- "type": "string"
- },
- "period": {
- "enum": [
- "month",
- "quarter",
- "calendar_year",
- "cardmember_year",
- "half_year"
- ],
- "type": "string"
- },
- "until": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "id",
- "name",
- "amount",
- "period",
- "enrolled",
- "left",
- "until",
- "dollars"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "currency": {
- "type": "string"
- },
- "earned": {
- "type": [
- "number",
- "null"
- ]
- },
- "effectiveReturnPct": {
- "type": "number"
- },
- "evidence": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "quote": {
- "type": "string"
- },
- "url": {
- "type": "string"
- }
- },
- "required": [
- "quote",
- "url"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "firstYearFee": {
- "type": [
- "number",
- "null"
- ]
- },
- "foreignFee": {
- "type": [
- "number",
- "null"
- ]
- },
- "issuer": {
- "type": "string"
- },
- "matchedRule": {
- "type": [
- "string",
- "null"
- ]
- },
- "milestoneBonus": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "dollars": {
- "type": "number"
- },
- "points": {
- "type": "number"
- }
- },
- "required": [
- "points",
- "dollars"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "needsMembership": {
- "type": [
- "string",
- "null"
- ]
- },
- "network": {
- "enum": [
- "visa",
- "mastercard",
- "amex",
- "discover",
- "store"
- ],
- "type": "string"
- },
- "picks": {
- "additionalProperties": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "rate": {
- "type": "number"
- },
- "reasoning": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "requirements": {
- "additionalProperties": false,
- "properties": {
- "activation": {
- "type": [
- "string",
- "null"
- ]
- },
- "cap": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "amount": {
- "type": "number"
- },
- "currency": {
- "type": "string"
- },
- "period": {
- "type": "string"
- },
- "thenRate": {
- "type": "number"
- }
- },
- "required": [
- "amount",
- "period",
- "thenRate",
- "currency"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "membership": {
- "type": [
- "string",
- "null"
- ]
- },
- "pick": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "automatic": {
- "type": "boolean"
- },
- "choice": {
- "type": "string"
- },
- "options": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "period": {
- "type": "string"
- }
- },
- "required": [
- "choice",
- "options",
- "period",
- "automatic"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "pick",
- "activation",
- "membership",
- "cap"
- ],
- "type": "object"
- },
- "warnings": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "withMembership": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "effectiveReturnPct": {
- "type": "number"
- },
- "membership": {
- "type": "string"
- }
- },
- "required": [
- "membership",
- "effectiveReturnPct"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "cardId",
- "cardName",
- "checkoutLabel",
- "matchedRule",
- "rate",
- "currency",
- "centsPerUnit",
- "effectiveReturnPct",
- "earned",
- "foreignFee",
- "milestoneBonus",
- "credit",
- "capped",
- "reasoning",
- "warnings",
- "issuer",
- "network",
- "annualFee",
- "firstYearFee",
- "picks",
- "requirements",
- "conditions",
- "evidence",
- "withMembership",
- "needsMembership"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "merchant": {
- "additionalProperties": false,
- "properties": {
- "accepts": {
- "anyOf": [
- {
- "items": {
- "enum": [
- "visa",
- "mastercard",
- "amex",
- "discover"
- ],
- "type": "string"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ]
- },
- "ambiguity": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "mayCodeAs": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "note": {
- "type": "string"
- }
- },
- "required": [
- "mayCodeAs",
- "note"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "bookedVia": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "category": {
- "type": "string"
- },
- "channel": {
- "anyOf": [
- {
- "enum": [
- "online",
- "in_store"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "confidence": {
- "enum": [
- "high",
- "medium",
- "low"
- ],
- "type": "string"
- },
- "inference": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "cached": {
- "type": "boolean"
- },
- "classifiedOn": {
- "type": "string"
- },
- "model": {
- "type": "string"
- },
- "rationale": {
- "type": "string"
- }
- },
- "required": [
- "model",
- "rationale",
- "classifiedOn",
- "cached"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "input": {
- "type": "string"
- },
- "likelyMcc": {
- "type": [
- "number",
- "null"
- ]
- },
- "merchantId": {
- "type": [
- "string",
- "null"
- ]
- },
- "resolvedName": {
- "type": "string"
- },
- "source": {
- "enum": [
- "override",
- "seed",
- "llm",
- "caller",
- "category",
- "none"
- ],
- "type": "string"
- }
- },
- "required": [
- "input",
- "merchantId",
- "resolvedName",
- "category",
- "likelyMcc",
- "accepts",
- "ambiguity",
- "channel",
- "confidence",
- "source",
- "bookedVia",
- "inference"
- ],
- "type": "object"
- },
- "ranked": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "annualFee": {
- "type": [
- "number",
- "null"
- ]
- },
- "capped": {
- "type": "boolean"
- },
- "cardId": {
- "type": "string"
- },
- "cardName": {
- "type": "string"
- },
- "centsPerUnit": {
- "type": "number"
- },
- "checkoutLabel": {
- "type": [
- "string",
- "null"
- ]
- },
- "conditions": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "credit": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "amount": {
- "type": "number"
- },
- "dollars": {
- "type": [
- "number",
- "null"
- ]
- },
- "enrolled": {
- "type": "boolean"
- },
- "id": {
- "type": "string"
- },
- "left": {
- "type": [
- "number",
- "null"
- ]
- },
- "name": {
- "type": "string"
- },
- "period": {
- "enum": [
- "month",
- "quarter",
- "calendar_year",
- "cardmember_year",
- "half_year"
- ],
- "type": "string"
- },
- "until": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "id",
- "name",
- "amount",
- "period",
- "enrolled",
- "left",
- "until",
- "dollars"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "currency": {
- "type": "string"
- },
- "earned": {
- "type": [
- "number",
- "null"
- ]
- },
- "effectiveReturnPct": {
- "type": "number"
- },
- "evidence": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "quote": {
- "type": "string"
- },
- "url": {
- "type": "string"
- }
- },
- "required": [
- "quote",
- "url"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "firstYearFee": {
- "type": [
- "number",
- "null"
- ]
- },
- "foreignFee": {
- "type": [
- "number",
- "null"
- ]
- },
- "issuer": {
- "type": "string"
- },
- "matchedRule": {
- "type": [
- "string",
- "null"
- ]
- },
- "milestoneBonus": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "dollars": {
- "type": "number"
- },
- "points": {
- "type": "number"
- }
- },
- "required": [
- "points",
- "dollars"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "needsMembership": {
- "type": [
- "string",
- "null"
- ]
- },
- "network": {
- "enum": [
- "visa",
- "mastercard",
- "amex",
- "discover",
- "store"
- ],
- "type": "string"
- },
- "picks": {
- "additionalProperties": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "rate": {
- "type": "number"
- },
- "reasoning": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "requirements": {
- "additionalProperties": false,
- "properties": {
- "activation": {
- "type": [
- "string",
- "null"
- ]
- },
- "cap": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "amount": {
- "type": "number"
- },
- "currency": {
- "type": "string"
- },
- "period": {
- "type": "string"
- },
- "thenRate": {
- "type": "number"
- }
- },
- "required": [
- "amount",
- "period",
- "thenRate",
- "currency"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "membership": {
- "type": [
- "string",
- "null"
- ]
- },
- "pick": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "automatic": {
- "type": "boolean"
- },
- "choice": {
- "type": "string"
- },
- "options": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "period": {
- "type": "string"
- }
- },
- "required": [
- "choice",
- "options",
- "period",
- "automatic"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "pick",
- "activation",
- "membership",
- "cap"
- ],
- "type": "object"
- },
- "warnings": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "withMembership": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "effectiveReturnPct": {
- "type": "number"
- },
- "membership": {
- "type": "string"
- }
- },
- "required": [
- "membership",
- "effectiveReturnPct"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "cardId",
- "cardName",
- "checkoutLabel",
- "matchedRule",
- "rate",
- "currency",
- "centsPerUnit",
- "effectiveReturnPct",
- "earned",
- "foreignFee",
- "milestoneBonus",
- "credit",
- "capped",
- "reasoning",
- "warnings",
- "issuer",
- "network",
- "annualFee",
- "firstYearFee",
- "picks",
- "requirements",
- "conditions",
- "evidence",
- "withMembership",
- "needsMembership"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "warnings": {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "merchant",
- "categoryNote",
- "credits",
- "ranked",
- "membersOnly",
- "excluded",
- "assumptions",
- "warnings",
- "ifPaying"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "assumptions": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "categoryNote": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "credits": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "amount": {
+ "type": "number"
+ },
+ "annualFee": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "back": {
+ "type": "string"
+ },
+ "cardId": {
+ "type": "string"
+ },
+ "cardName": {
+ "type": "string"
+ },
+ "creditId": {
+ "type": "string"
+ },
+ "earn": {
+ "type": "string"
+ },
+ "enroll": {
+ "type": "boolean"
+ },
+ "evidence": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "quote": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "quote",
+ "url"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "firstYearFee": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "issuer": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "network": {
+ "enum": [
+ "visa",
+ "mastercard",
+ "amex",
+ "discover",
+ "store"
+ ],
+ "type": "string"
+ },
+ "note": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "period": {
+ "enum": [
+ "month",
+ "quarter",
+ "calendar_year",
+ "cardmember_year",
+ "half_year"
+ ],
+ "type": "string"
+ },
+ "terms": {
+ "type": "string"
+ },
+ "text": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "cardId",
+ "cardName",
+ "issuer",
+ "network",
+ "annualFee",
+ "firstYearFee",
+ "creditId",
+ "name",
+ "amount",
+ "period",
+ "enroll",
+ "note",
+ "back",
+ "terms",
+ "earn",
+ "text",
+ "evidence"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "excluded": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "cardId": {
+ "type": "string"
+ },
+ "cardName": {
+ "type": "string"
+ },
+ "checkoutLabel": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "network": {
+ "enum": [
+ "visa",
+ "mastercard",
+ "amex",
+ "discover"
+ ],
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "cardId",
+ "cardName",
+ "checkoutLabel",
+ "network",
+ "reason"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "ifPaying": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "cardId": {
+ "type": "string"
+ },
+ "cardName": {
+ "type": "string"
+ },
+ "earn": {
+ "type": "string"
+ },
+ "payment": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "cardId",
+ "cardName",
+ "payment",
+ "earn"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "membersOnly": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "annualFee": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "capped": {
+ "type": "boolean"
+ },
+ "cardId": {
+ "type": "string"
+ },
+ "cardName": {
+ "type": "string"
+ },
+ "centsPerUnit": {
+ "type": "number"
+ },
+ "checkoutLabel": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "conditions": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "credit": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "amount": {
+ "type": "number"
+ },
+ "dollars": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "enrolled": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ },
+ "left": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "month_amounts": {
+ "additionalProperties": {
+ "type": "number"
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "name": {
+ "type": "string"
+ },
+ "period": {
+ "enum": [
+ "month",
+ "quarter",
+ "calendar_year",
+ "cardmember_year",
+ "half_year"
+ ],
+ "type": "string"
+ },
+ "periodAmount": {
+ "type": "number"
+ },
+ "until": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "amount",
+ "periodAmount",
+ "period",
+ "enrolled",
+ "left",
+ "until",
+ "dollars"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "currency": {
+ "type": "string"
+ },
+ "earned": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "effectiveReturnPct": {
+ "type": "number"
+ },
+ "evidence": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "quote": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "quote",
+ "url"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "firstYearFee": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "foreignFee": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "issuer": {
+ "type": "string"
+ },
+ "matchedRule": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "milestoneBonus": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "dollars": {
+ "type": "number"
+ },
+ "points": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "points",
+ "dollars"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "needsMembership": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "network": {
+ "enum": [
+ "visa",
+ "mastercard",
+ "amex",
+ "discover",
+ "store"
+ ],
+ "type": "string"
+ },
+ "picks": {
+ "additionalProperties": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "rate": {
+ "type": "number"
+ },
+ "reasoning": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "requirements": {
+ "additionalProperties": false,
+ "properties": {
+ "activation": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "cap": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "amount": {
+ "type": "number"
+ },
+ "currency": {
+ "type": "string"
+ },
+ "period": {
+ "type": "string"
+ },
+ "thenRate": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "amount",
+ "period",
+ "thenRate",
+ "currency"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "membership": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "pick": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "automatic": {
+ "type": "boolean"
+ },
+ "choice": {
+ "type": "string"
+ },
+ "options": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "period": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "choice",
+ "options",
+ "period",
+ "automatic"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "pick",
+ "activation",
+ "membership",
+ "cap"
+ ],
+ "type": "object"
+ },
+ "warnings": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "withMembership": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "effectiveReturnPct": {
+ "type": "number"
+ },
+ "membership": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "membership",
+ "effectiveReturnPct"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "cardId",
+ "cardName",
+ "checkoutLabel",
+ "matchedRule",
+ "rate",
+ "currency",
+ "centsPerUnit",
+ "effectiveReturnPct",
+ "earned",
+ "foreignFee",
+ "milestoneBonus",
+ "credit",
+ "capped",
+ "reasoning",
+ "warnings",
+ "issuer",
+ "network",
+ "annualFee",
+ "firstYearFee",
+ "picks",
+ "requirements",
+ "conditions",
+ "evidence",
+ "withMembership",
+ "needsMembership"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "merchant": {
+ "additionalProperties": false,
+ "properties": {
+ "accepts": {
+ "anyOf": [
+ {
+ "items": {
+ "enum": [
+ "visa",
+ "mastercard",
+ "amex",
+ "discover"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "ambiguity": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "mayCodeAs": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "note": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "mayCodeAs",
+ "note"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "bookedVia": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "category": {
+ "type": "string"
+ },
+ "channel": {
+ "anyOf": [
+ {
+ "enum": [
+ "online",
+ "in_store"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "confidence": {
+ "enum": [
+ "high",
+ "medium",
+ "low"
+ ],
+ "type": "string"
+ },
+ "inference": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "cached": {
+ "type": "boolean"
+ },
+ "classifiedOn": {
+ "type": "string"
+ },
+ "model": {
+ "type": "string"
+ },
+ "rationale": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "model",
+ "rationale",
+ "classifiedOn",
+ "cached"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "input": {
+ "type": "string"
+ },
+ "likelyMcc": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "merchantId": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "resolvedName": {
+ "type": "string"
+ },
+ "source": {
+ "enum": [
+ "override",
+ "seed",
+ "llm",
+ "caller",
+ "category",
+ "none"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "input",
+ "merchantId",
+ "resolvedName",
+ "category",
+ "likelyMcc",
+ "accepts",
+ "ambiguity",
+ "channel",
+ "confidence",
+ "source",
+ "bookedVia",
+ "inference"
+ ],
+ "type": "object"
+ },
+ "ranked": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "annualFee": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "capped": {
+ "type": "boolean"
+ },
+ "cardId": {
+ "type": "string"
+ },
+ "cardName": {
+ "type": "string"
+ },
+ "centsPerUnit": {
+ "type": "number"
+ },
+ "checkoutLabel": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "conditions": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "credit": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "amount": {
+ "type": "number"
+ },
+ "dollars": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "enrolled": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ },
+ "left": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "month_amounts": {
+ "additionalProperties": {
+ "type": "number"
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "name": {
+ "type": "string"
+ },
+ "period": {
+ "enum": [
+ "month",
+ "quarter",
+ "calendar_year",
+ "cardmember_year",
+ "half_year"
+ ],
+ "type": "string"
+ },
+ "periodAmount": {
+ "type": "number"
+ },
+ "until": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "amount",
+ "periodAmount",
+ "period",
+ "enrolled",
+ "left",
+ "until",
+ "dollars"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "currency": {
+ "type": "string"
+ },
+ "earned": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "effectiveReturnPct": {
+ "type": "number"
+ },
+ "evidence": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "quote": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "quote",
+ "url"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "firstYearFee": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "foreignFee": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "issuer": {
+ "type": "string"
+ },
+ "matchedRule": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "milestoneBonus": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "dollars": {
+ "type": "number"
+ },
+ "points": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "points",
+ "dollars"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "needsMembership": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "network": {
+ "enum": [
+ "visa",
+ "mastercard",
+ "amex",
+ "discover",
+ "store"
+ ],
+ "type": "string"
+ },
+ "picks": {
+ "additionalProperties": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "rate": {
+ "type": "number"
+ },
+ "reasoning": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "requirements": {
+ "additionalProperties": false,
+ "properties": {
+ "activation": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "cap": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "amount": {
+ "type": "number"
+ },
+ "currency": {
+ "type": "string"
+ },
+ "period": {
+ "type": "string"
+ },
+ "thenRate": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "amount",
+ "period",
+ "thenRate",
+ "currency"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "membership": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "pick": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "automatic": {
+ "type": "boolean"
+ },
+ "choice": {
+ "type": "string"
+ },
+ "options": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "period": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "choice",
+ "options",
+ "period",
+ "automatic"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "pick",
+ "activation",
+ "membership",
+ "cap"
+ ],
+ "type": "object"
+ },
+ "warnings": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "withMembership": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "effectiveReturnPct": {
+ "type": "number"
+ },
+ "membership": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "membership",
+ "effectiveReturnPct"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "cardId",
+ "cardName",
+ "checkoutLabel",
+ "matchedRule",
+ "rate",
+ "currency",
+ "centsPerUnit",
+ "effectiveReturnPct",
+ "earned",
+ "foreignFee",
+ "milestoneBonus",
+ "credit",
+ "capped",
+ "reasoning",
+ "warnings",
+ "issuer",
+ "network",
+ "annualFee",
+ "firstYearFee",
+ "picks",
+ "requirements",
+ "conditions",
+ "evidence",
+ "withMembership",
+ "needsMembership"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "warnings": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "merchant",
+ "categoryNote",
+ "credits",
+ "ranked",
+ "membersOnly",
+ "excluded",
+ "assumptions",
+ "warnings",
+ "ifPaying"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]