changedOutput schema / oneOf
Previous value: -[
- {
- "properties": {
- "abstract": {
- "description": "Patent abstract or null",
- "type": [
- "string",
- "null"
- ]
- },
- "applicants": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "application_number": {
- "type": "string"
- },
- "assignee_organization": {
- "description": "Assignee organization name or null",
- "type": [
- "string",
- "null"
- ]
- },
- "classification": {
- "type": "string"
- },
- "date": {
- "description": "Patent filing date or null",
- "type": [
- "string",
- "null"
- ]
- },
- "effective_filing_date": {
- "type": "string"
- },
- "filing_date": {
- "type": "string"
- },
- "first_applicant": {
- "type": "string"
- },
- "first_inventor": {
- "type": "string"
- },
- "found": {
- "description": "Present and true on an answer; a miss is the found:false branch.",
- "enum": [
- true
- ],
- "type": "boolean"
- },
- "grant_date": {
- "type": "string"
- },
- "inventors": {
- "description": "List of inventors with details",
- "items": {
- "properties": {
- "city": {
- "description": "Inventor city or null",
- "type": [
- "string",
- "null"
- ]
- },
- "first_name": {
- "description": "Inventor first name or null",
- "type": [
- "string",
- "null"
- ]
- },
- "last_name": {
- "description": "Inventor last name or null",
- "type": [
- "string",
- "null"
- ]
- },
- "state": {
- "description": "Inventor state or null",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "matched_by": {
- "type": "string"
- },
- "patent_number": {
- "description": "Patent number",
- "type": "string"
- },
- "publication_date": {
- "type": "string"
- },
- "publication_number": {
- "type": "string"
- },
- "status": {
- "type": "string"
- },
- "status_date": {
- "type": "string"
- },
- "title": {
- "description": "Patent title",
- "type": "string"
- },
- "type": {
- "description": "Patent type or null",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "patent_number",
- "title",
- "type",
- "inventors"
- ],
- "type": "object"
- },
- {
- "description": "A miss or an unavailable upstream: found:false with a reason and a hint (the shape check-found-false-schemas.mjs expects).",
- "properties": {
- "found": {
- "enum": [
- false
- ],
- "type": "boolean"
- }
- },
- "required": [
- "found"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "properties": {
+ "abstract": {
+ "description": "Patent abstract or null",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "applicants": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "application_number": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "assignee_organization": {
+ "description": "Assignee organization name or null",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "classification": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "date": {
+ "description": "Patent filing date or null",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "effective_filing_date": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "filing_date": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "first_applicant": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "first_inventor": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "found": {
+ "description": "Present and true on an answer; a miss is the found:false branch.",
+ "enum": [
+ true
+ ],
+ "type": "boolean"
+ },
+ "grant_date": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "inventors": {
+ "description": "List of inventors with details",
+ "items": {
+ "properties": {
+ "city": {
+ "description": "Inventor city or null",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "first_name": {
+ "description": "Inventor first name or null",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "last_name": {
+ "description": "Inventor last name or null",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "state": {
+ "description": "Inventor state or null",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "matched_by": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "patent_number": {
+ "description": "Patent number",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "publication_date": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "publication_number": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "status": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "status_date": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "title": {
+ "description": "Patent title",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "type": {
+ "description": "Patent type or null",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "patent_number",
+ "title",
+ "type",
+ "inventors"
+ ],
+ "type": "object"
+ },
+ {
+ "description": "An 8-digit value that is both an application number and a granted patent number: both records are summarised and the caller picks one.",
+ "properties": {
+ "ambiguous": {
+ "enum": [
+ true
+ ],
+ "type": "boolean"
+ },
+ "application_match": {
+ "type": "object"
+ },
+ "found": {
+ "enum": [
+ true
+ ],
+ "type": "boolean"
+ },
+ "patent_match": {
+ "type": "object"
+ },
+ "warning": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "found",
+ "ambiguous",
+ "application_match",
+ "patent_match"
+ ],
+ "type": "object"
+ },
+ {
+ "description": "A miss or an unavailable upstream: found:false with a reason and a hint (the shape check-found-false-schemas.mjs expects).",
+ "properties": {
+ "found": {
+ "enum": [
+ false
+ ],
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "found"
+ ],
+ "type": "object"
+ }
+]