addedOutput schema / properties / list
Added value: +{
+ "additionalProperties": false,
+ "description": "The reference list as a whole, read from the text by the same scan as `references`; no lookup and no model.",
+ "properties": {
+ "dangling": {
+ "description": "In-text citations that name no entry: a number past the list, or an author and year no entry carries.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "mark": {
+ "type": "string"
+ },
+ "sentence": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "mark",
+ "sentence"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "duplicates": {
+ "description": "Works listed more than once.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "labels": {
+ "items": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "type": "array"
+ },
+ "reference": {
+ "type": "number"
+ },
+ "text": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "reference",
+ "labels",
+ "text"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "entries": {
+ "description": "Entries in the text's reference list. Zero when no list was found: then nothing below is reported.",
+ "type": "number"
+ },
+ "load": {
+ "description": "Per reference, the sentences citing it and how many cite nothing else: the sentences that lose their only source if that paper is retracted.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "alone": {
+ "type": "number"
+ },
+ "reference": {
+ "type": "number"
+ },
+ "sentences": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "reference",
+ "sentences",
+ "alone"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "uncited": {
+ "description": "Entries no in-text citation reaches. Cite them where they belong or take them out.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "description": "The entry's own number in the list, when it has one.",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "reference": {
+ "description": "Index into `references`.",
+ "type": "number"
+ },
+ "text": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "reference",
+ "label",
+ "text"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "entries",
+ "uncited",
+ "dangling",
+ "duplicates",
+ "load"
+ ],
+ "type": "object"
+}
changedOutput schema / properties / sentences / items / properties / claim / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "paper": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "key": {
- "type": "string"
- },
- "licence": {
- "type": [
- "string",
- "null"
- ]
- },
- "readable": {
- "description": "What naulon's page for it shows.",
- "enum": [
- "full",
- "abstract",
- "none"
- ],
- "type": "string"
- },
- "status": {
- "description": "The retraction record's verdict: clean, or the most serious notice.",
- "type": "string"
- },
- "title": {
- "type": [
- "string",
- "null"
- ]
- },
- "url": {
- "type": "string"
- }
- },
- "required": [
- "key",
- "url",
- "title",
- "status",
- "licence",
- "readable"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "passages": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "rank": {
- "description": "1 is the best match.",
- "type": "number"
- },
- "section": {
- "type": [
- "string",
- "null"
- ]
- },
- "text": {
- "description": "The paragraph, in the paper's own words.",
- "type": "string"
- },
- "url": {
- "description": "That paragraph on the paper's naulon page.",
- "type": "string"
- }
- },
- "required": [
- "rank",
- "section",
- "text",
- "url"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "queued": {
- "description": "True when the paper was noted for fetching, so its full text may be held later.",
- "type": "boolean"
- },
- "searched": {
- "anyOf": [
- {
- "enum": [
- "full_text",
- "abstract"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Which text of the paper was read. Null when none was."
- },
- "status": {
- "description": "passages: text was found. absent: the text read shares no term with the claim. not_held: no text of this paper is held yet. no_open_copy: none can be, the paper has no open copy that may be shown. unknown_paper: no index knows this identifier. retracted, withdrawn: the paper cannot support a claim. papers_unavailable: paper text is switched off on this fleet.",
- "enum": [
- "passages",
- "absent",
- "not_held",
- "no_open_copy",
- "unknown_paper",
- "retracted",
- "withdrawn",
- "papers_unavailable"
- ],
- "type": "string"
- },
- "termsMatched": {
- "description": "How many of the claim's distinct terms the text read uses.",
- "type": "number"
- },
- "termsTotal": {
- "description": "How many distinct terms the claim has. Under half matched is a weak match.",
- "type": "number"
- },
- "wordsNotFound": {
- "description": "Words of the claim that appear nowhere in the text read. Empty when no text was read.",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "status",
- "searched",
- "passages",
- "wordsNotFound",
- "termsMatched",
- "termsTotal",
- "paper",
- "queued"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "grade": {
+ "anyOf": [
+ {
+ "enum": [
+ "supports",
+ "partly",
+ "does_not_support",
+ "contradicts",
+ "cannot_assess"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "naulon's grade scale: supports, partly, does_not_support, contradicts, cannot_assess. Set when the outcome needs no reading: does_not_support when the full text shares no term with the claim, cannot_assess when the text needed was not read. Null when passages came back: nobody has read them, so grade the claim yourself on this same scale, and say cannot_assess rather than does_not_support when only the abstract was read."
+ },
+ "paper": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "key": {
+ "type": "string"
+ },
+ "licence": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "readable": {
+ "description": "What naulon's page for it shows.",
+ "enum": [
+ "full",
+ "abstract",
+ "none"
+ ],
+ "type": "string"
+ },
+ "status": {
+ "description": "The retraction record's verdict: clean, or the most serious notice.",
+ "type": "string"
+ },
+ "title": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "key",
+ "url",
+ "title",
+ "status",
+ "licence",
+ "readable"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "passages": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "rank": {
+ "description": "1 is the best match.",
+ "type": "number"
+ },
+ "section": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "text": {
+ "description": "The paragraph, in the paper's own words.",
+ "type": "string"
+ },
+ "url": {
+ "description": "That paragraph on the paper's naulon page.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "rank",
+ "section",
+ "text",
+ "url"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "queued": {
+ "description": "True when the paper was noted for fetching, so its full text may be held later.",
+ "type": "boolean"
+ },
+ "reason": {
+ "anyOf": [
+ {
+ "enum": [
+ "not_held",
+ "no_text",
+ "no_open_copy",
+ "unknown_paper",
+ "unresolved",
+ "abstract_only",
+ "retracted",
+ "withdrawn",
+ "not_a_paper",
+ "wrong_work"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Why the grade is cannot_assess. Null with any other grade."
+ },
+ "searched": {
+ "anyOf": [
+ {
+ "enum": [
+ "full_text",
+ "abstract"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Which text of the paper was read. Null when none was."
+ },
+ "status": {
+ "description": "passages: text was found. absent: the text read shares no term with the claim. not_held: no text of this paper is held yet. no_open_copy: none can be, the paper has no open copy that may be shown. unknown_paper: no index knows this identifier. unresolved: the lookup or the read did not finish, so nothing is known; ask again. retracted, withdrawn: the paper cannot support a claim. not_a_paper: its record names a book, a chapter, a report or another work that is not a paper, so no text of it is read. papers_unavailable: paper text is switched off on this fleet.",
+ "enum": [
+ "passages",
+ "absent",
+ "not_held",
+ "no_open_copy",
+ "unknown_paper",
+ "unresolved",
+ "retracted",
+ "withdrawn",
+ "not_a_paper",
+ "papers_unavailable"
+ ],
+ "type": "string"
+ },
+ "termsMatched": {
+ "description": "How many of the claim's distinct terms the text read uses.",
+ "type": "number"
+ },
+ "termsTotal": {
+ "description": "How many distinct terms the claim has. Under half matched is a weak match.",
+ "type": "number"
+ },
+ "textVersion": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "fetchedAt": {
+ "description": "The hour it was read, ISO.",
+ "type": "string"
+ },
+ "licence": {
+ "description": "The licence the copy is under, as a party with authority over it states.",
+ "type": "string"
+ },
+ "sha256": {
+ "description": "sha256 of the text as read: the same hash later means the same text.",
+ "type": "string"
+ },
+ "source": {
+ "description": "What served the text.",
+ "type": "string"
+ },
+ "url": {
+ "description": "The open copy that was read. Each passage links it.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "source",
+ "url",
+ "licence",
+ "fetchedAt",
+ "sha256"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Set when the full text was read from the paper's open copy at the moment of this call, because naulon does not hold it. Null for held text, for an abstract and when none was read."
+ },
+ "wordsNotFound": {
+ "description": "Words of the claim that appear nowhere in the text read. Empty when no text was read.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "status",
+ "grade",
+ "reason",
+ "textVersion",
+ "searched",
+ "passages",
+ "wordsNotFound",
+ "termsMatched",
+ "termsTotal",
+ "paper",
+ "queued"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]