changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "additionalProperties": false,
+ "properties": {
+ "alreadySaved": {
+ "type": "boolean"
+ },
+ "extraction": {
+ "additionalProperties": false,
+ "properties": {
+ "cacheHit": {
+ "type": "boolean"
+ },
+ "qualityStatus": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "source": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "source",
+ "cacheHit",
+ "qualityStatus"
+ ],
+ "type": "object"
+ },
+ "item": {
+ "properties": {
+ "article": {
+ "additionalProperties": {},
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "articleStatus": {
+ "type": "string"
+ },
+ "asset": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "checksum": {
+ "type": "string"
+ },
+ "downloadUrl": {
+ "type": "string"
+ },
+ "fileName": {
+ "type": "string"
+ },
+ "itemId": {
+ "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
+ "type": "string"
+ },
+ "mimeType": {
+ "type": "string"
+ },
+ "resourceUri": {
+ "type": "string"
+ },
+ "size": {
+ "type": "number"
+ },
+ "updatedAt": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "itemId",
+ "fileName",
+ "mimeType",
+ "size",
+ "checksum",
+ "updatedAt",
+ "resourceUri",
+ "downloadUrl"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "captureMethod": {
+ "anyOf": [
+ {
+ "const": "reader",
+ "type": "string"
+ },
+ {
+ "const": "extension",
+ "type": "string"
+ },
+ {
+ "const": "upload",
+ "type": "string"
+ },
+ {
+ "const": "rss",
+ "type": "string"
+ },
+ {
+ "const": "email_inbox",
+ "type": "string"
+ },
+ {
+ "const": "api",
+ "type": "string"
+ },
+ {
+ "const": "import",
+ "type": "string"
+ }
+ ]
+ },
+ "classification": {
+ "additionalProperties": {},
+ "properties": {
+ "confidence": {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "method": {
+ "anyOf": [
+ {
+ "const": "user",
+ "type": "string"
+ },
+ {
+ "const": "source_adapter",
+ "type": "string"
+ },
+ {
+ "const": "mime",
+ "type": "string"
+ },
+ {
+ "const": "extension",
+ "type": "string"
+ },
+ {
+ "const": "url",
+ "type": "string"
+ },
+ {
+ "const": "metadata",
+ "type": "string"
+ },
+ {
+ "const": "legacy",
+ "type": "string"
+ },
+ {
+ "const": "fallback",
+ "type": "string"
+ }
+ ]
+ },
+ "updatedAt": {
+ "type": "string"
+ },
+ "version": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "method",
+ "confidence",
+ "version",
+ "updatedAt"
+ ],
+ "type": "object"
+ },
+ "contentKind": {
+ "anyOf": [
+ {
+ "const": "article",
+ "type": "string"
+ },
+ {
+ "const": "website",
+ "type": "string"
+ },
+ {
+ "const": "book",
+ "type": "string"
+ },
+ {
+ "const": "email",
+ "type": "string"
+ },
+ {
+ "const": "pdf",
+ "type": "string"
+ },
+ {
+ "const": "social_post",
+ "type": "string"
+ },
+ {
+ "const": "video",
+ "type": "string"
+ },
+ {
+ "const": "podcast_episode",
+ "type": "string"
+ },
+ {
+ "const": "document",
+ "type": "string"
+ },
+ {
+ "const": "unknown",
+ "type": "string"
+ }
+ ]
+ },
+ "domain": {
+ "type": "string"
+ },
+ "externalId": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "fileName": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "format": {
+ "anyOf": [
+ {
+ "const": "html",
+ "type": "string"
+ },
+ {
+ "const": "pdf",
+ "type": "string"
+ },
+ {
+ "const": "epub",
+ "type": "string"
+ },
+ {
+ "const": "markdown",
+ "type": "string"
+ },
+ {
+ "const": "plain_text",
+ "type": "string"
+ },
+ {
+ "const": "document",
+ "type": "string"
+ },
+ {
+ "const": "spreadsheet",
+ "type": "string"
+ },
+ {
+ "const": "presentation",
+ "type": "string"
+ },
+ {
+ "const": "audio",
+ "type": "string"
+ },
+ {
+ "const": "video",
+ "type": "string"
+ },
+ {
+ "const": "unknown",
+ "type": "string"
+ }
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "lastReadAt": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "metadata": {
+ "patternProperties": {
+ "^(.*)$": {}
+ },
+ "type": "object"
+ },
+ "mimeType": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "originalUrl": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "readProgress": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "savedAt": {
+ "type": "string"
+ },
+ "status": {
+ "type": "string"
+ },
+ "tags": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "title": {
+ "type": "string"
+ },
+ "updatedAt": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "url",
+ "originalUrl",
+ "title",
+ "domain",
+ "contentKind",
+ "classification",
+ "captureMethod",
+ "format",
+ "mimeType",
+ "fileName",
+ "asset",
+ "externalId",
+ "status",
+ "tags",
+ "savedAt",
+ "updatedAt",
+ "lastReadAt",
+ "readProgress",
+ "articleStatus"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "item",
+ "extraction",
+ "alreadySaved"
+ ],
+ "type": "object"
+}