changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "additionalProperties": true,
+ "properties": {
+ "case": {
+ "additionalProperties": true,
+ "description": "The case: court, case number, caption, filing date, status, judges, nature of suit, latest activity and docket size.",
+ "properties": {
+ "assigned_judge": {
+ "description": "Assigned judge."
+ },
+ "case_name": {
+ "description": "Caption.",
+ "type": "string"
+ },
+ "case_number": {
+ "description": "Case number as the court writes it.",
+ "type": "string"
+ },
+ "case_status": {
+ "description": "open, terminated, or null when the source does not say."
+ },
+ "cause": {
+ "description": "Cause of action."
+ },
+ "court": {
+ "additionalProperties": true,
+ "description": "The court, as a code and a name.",
+ "properties": {
+ "code": {
+ "description": "Court code, e.g. nysd.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Court name.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "docket_entry_count": {
+ "description": "How many entries the court docket has."
+ },
+ "filing_date": {
+ "description": "ISO date the case was filed."
+ },
+ "id": {
+ "description": "CaseMagic id of the court case.",
+ "type": "string"
+ },
+ "latest_activity_at": {
+ "description": "ISO timestamp of the latest docket activity."
+ },
+ "nature_of_suit": {
+ "description": "Nature of suit."
+ },
+ "referred_judge": {
+ "description": "Referred magistrate judge."
+ },
+ "terminated_date": {
+ "description": "ISO date the case was terminated, or null while it is open."
+ }
+ },
+ "type": "object"
+ },
+ "case_url": {
+ "description": "The case’s public page on CaseMagic, which offers free email alerts and Watch.",
+ "type": "string"
+ },
+ "connect_token": {
+ "description": "Short-lived token for create_case_passport, present on a lookup by case number.",
+ "type": "string"
+ },
+ "docket_coverage": {
+ "additionalProperties": true,
+ "description": "How much of the court docket CaseMagic holds for this case.",
+ "properties": {},
+ "type": "object"
+ },
+ "error": {
+ "additionalProperties": true,
+ "description": "Present only when the call failed: a code, a message and, where there is one, an action such as a link to give the user.",
+ "properties": {
+ "code": {
+ "description": "Machine-readable error code, for example CASE_NOT_FOUND or MULTIPLE_CASES_FOUND.",
+ "type": "string"
+ },
+ "message": {
+ "description": "What went wrong, in a sentence.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "matter_id": {
+ "description": "The account matter id when the case was read through a saved case; null for a lookup."
+ },
+ "recommended_next_action": {
+ "additionalProperties": true,
+ "description": "The offer to make after answering, decided by the server: action watch_case when the case is open and can be monitored, none otherwise.",
+ "properties": {
+ "action": {
+ "description": "watch_case or none.",
+ "type": "string"
+ },
+ "card_required": {
+ "description": "Whether a card is collected for the trial.",
+ "type": "boolean"
+ },
+ "cta": {
+ "description": "Button text.",
+ "type": "string"
+ },
+ "guidance": {
+ "description": "How to make the offer.",
+ "type": "string"
+ },
+ "offer": {
+ "description": "What monitoring does.",
+ "type": "string"
+ },
+ "plans": {
+ "description": "The three plans with price and how many cases each covers.",
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "price_after_trial": {
+ "description": "Price of the entry plan after the trial.",
+ "type": "string"
+ },
+ "reason": {
+ "description": "Why, in a sentence the assistant can repeat.",
+ "type": "string"
+ },
+ "suggested_message": {
+ "description": "One sentence the assistant may say, once.",
+ "type": "string"
+ },
+ "trial_days": {
+ "description": "Free trial length in days.",
+ "type": "number"
+ },
+ "url": {
+ "description": "Where the user starts watching this case.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "source": {
+ "additionalProperties": true,
+ "description": "Which court source answered, when it was read and where it can be seen.",
+ "properties": {
+ "name": {
+ "description": "Source name.",
+ "type": "string"
+ },
+ "retrieved_at": {
+ "description": "ISO timestamp of the read."
+ },
+ "url": {
+ "description": "Link to the docket at the source."
+ }
+ },
+ "type": "object"
+ },
+ "status": {
+ "additionalProperties": true,
+ "description": "Posture: case status, terminated date, filing date, judges, cause, nature of suit, jury demand, latest activity.",
+ "properties": {},
+ "type": "object"
+ },
+ "what_comes_next": {
+ "description": "One sentence on where to send a user who wants to hear about new filings.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+}