changedOutput schema / properties / results / items / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "index": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "output_truncated": {
- "type": "boolean"
- },
- "result": {
- "additionalProperties": false,
- "allOf": [
- {
- "if": {
- "properties": {
- "op": {
- "const": "attach"
- }
- },
- "required": [
- "op"
- ]
- },
- "then": {
- "properties": {
- "bytes": {
- "maximum": 8388608,
- "minimum": 0,
- "type": "integer"
- },
- "mime_type": {
- "enum": [
- "image/jpeg",
- "image/png",
- "image/webp"
- ],
- "type": "string"
- },
- "path": {
- "type": "string"
- }
- },
- "required": [
- "path",
- "mime_type",
- "bytes"
- ]
- }
- }
- ],
- "properties": {
- "arxiv_url": {
- "type": "string"
- },
- "bytes": {
- "type": "number"
- },
- "content": {
- "type": "string"
- },
- "content_type": {
- "enum": [
- "application/json",
- "text/markdown"
- ],
- "type": "string"
- },
- "daily_papers_date": {
- "type": "string"
- },
- "daily_papers_uri": {
- "type": "string"
- },
- "entries": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "anchor": {
- "type": "string"
- },
- "arxiv_url": {
- "type": "string"
- },
- "category": {
- "type": "string"
- },
- "content_type": {
- "enum": [
- "application/json",
- "text/markdown"
- ],
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "daily_papers_date": {
- "type": "string"
- },
- "daily_papers_uri": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "downloads": {
- "type": "number"
- },
- "gated": {
- "anyOf": [
- {
- "const": false,
- "type": "boolean"
- },
- {
- "enum": [
- "auto",
- "manual"
- ],
- "type": "string"
- }
- ]
- },
- "lfs": {
- "type": "boolean"
- },
- "library": {
- "type": "string"
- },
- "likes": {
- "type": "number"
- },
- "name": {
- "type": "string"
- },
- "observed_at": {
- "type": "string"
- },
- "path": {
- "type": "string"
- },
- "private": {
- "type": "boolean"
- },
- "published_at": {
- "type": "string"
- },
- "repo_type": {
- "enum": [
- "model",
- "dataset",
- "space",
- "bucket"
- ],
- "type": "string"
- },
- "sdk": {
- "type": "string"
- },
- "semantic_relevance": {
- "type": "number"
- },
- "size": {
- "type": "number"
- },
- "tags": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "target_uri": {
- "type": "string"
- },
- "task": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "total_files": {
- "type": "number"
- },
- "trending_score": {
- "type": "number"
- },
- "type": {
- "enum": [
- "file",
- "dir",
- "repo",
- "bucket",
- "collection",
- "paper",
- "link"
- ],
- "type": "string"
- },
- "updated_at": {
- "type": "string"
- },
- "upvotes": {
- "type": "number"
- },
- "uri": {
- "type": "string"
- },
- "url": {
- "type": "string"
- }
- },
- "required": [
- "type",
- "path"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "exists": {
- "type": "boolean"
- },
- "lfs": {
- "type": "boolean"
- },
- "mime_type": {
- "enum": [
- "image/jpeg",
- "image/png",
- "image/webp"
- ],
- "type": "string"
- },
- "namespace": {
- "type": "string"
- },
- "next_offset": {
- "type": "number"
- },
- "op": {
- "enum": [
- "ls",
- "cat",
- "attach",
- "stat",
- "find",
- "search"
- ],
- "type": "string"
- },
- "path": {
- "type": "string"
- },
- "published_at": {
- "type": "string"
- },
- "section": {
- "type": "string"
- },
- "size": {
- "type": "number"
- },
- "target_uri": {
- "type": "string"
- },
- "truncated": {
- "type": "boolean"
- },
- "truncation_message": {
- "type": "string"
- },
- "truncation_reason": {
- "enum": [
- "entry_limit",
- "max_bytes",
- "limit",
- "provider_limit"
- ],
- "type": "string"
- },
- "type": {
- "enum": [
- "namespace",
- "repo",
- "dir",
- "file",
- "collection",
- "paper",
- "link",
- "missing"
- ],
- "type": "string"
- },
- "uri": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "warnings": {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "uri",
- "op"
- ],
- "type": "object"
- },
- "status": {
- "const": "success",
- "type": "string"
- }
- },
- "required": [
- "index",
- "status",
- "result"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "error": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "enum": [
- "HF_FS_INVALID_ARGUMENT",
- "HF_FS_NOT_FOUND",
- "HF_FS_NOT_A_DIRECTORY",
- "HF_FS_NOT_A_FILE",
- "HF_FS_UNSUPPORTED_OPERATION",
- "HF_FS_ACCESS_DENIED",
- "HF_FS_TEXT_ONLY",
- "HF_FS_IMAGE_ONLY",
- "HF_FS_UNSUPPORTED_MEDIA",
- "HF_FS_IMAGE_TOO_LARGE",
- "HF_FS_ATTACHMENT_BUDGET_EXCEEDED",
- "HF_FS_IMAGE_CONTENT_DISABLED",
- "HF_FS_ATTACHMENT_INTEGRITY"
- ],
- "type": "string"
- },
- "message": {
- "type": "string"
- },
- "recovery": {
- "type": "string"
- },
- "retryable": {
- "const": false,
- "type": "boolean"
- },
- "suggestedOperation": {
- "enum": [
- "ls",
- "cat",
- "attach",
- "stat",
- "search"
- ],
- "type": "string"
- }
- },
- "required": [
- "code",
- "message",
- "recovery",
- "retryable"
- ],
- "type": "object"
- },
- "index": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "status": {
- "const": "error",
- "type": "string"
- }
- },
- "required": [
- "index",
- "status",
- "error"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "index": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "output_truncated": {
+ "type": "boolean"
+ },
+ "result": {
+ "additionalProperties": false,
+ "allOf": [
+ {
+ "if": {
+ "properties": {
+ "op": {
+ "const": "attach"
+ }
+ },
+ "required": [
+ "op"
+ ]
+ },
+ "then": {
+ "properties": {
+ "bytes": {
+ "maximum": 8388608,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "mime_type": {
+ "enum": [
+ "image/jpeg",
+ "image/png",
+ "image/webp"
+ ],
+ "type": "string"
+ },
+ "path": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "path",
+ "mime_type",
+ "bytes"
+ ]
+ }
+ }
+ ],
+ "properties": {
+ "arxiv_url": {
+ "type": "string"
+ },
+ "bytes": {
+ "type": "number"
+ },
+ "content": {
+ "type": "string"
+ },
+ "content_type": {
+ "enum": [
+ "application/json",
+ "text/markdown"
+ ],
+ "type": "string"
+ },
+ "daily_papers_date": {
+ "type": "string"
+ },
+ "daily_papers_uri": {
+ "type": "string"
+ },
+ "entries": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "anchor": {
+ "type": "string"
+ },
+ "arxiv_url": {
+ "type": "string"
+ },
+ "category": {
+ "type": "string"
+ },
+ "content_type": {
+ "enum": [
+ "application/json",
+ "text/markdown"
+ ],
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "daily_papers_date": {
+ "type": "string"
+ },
+ "daily_papers_uri": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "downloads": {
+ "type": "number"
+ },
+ "gated": {
+ "anyOf": [
+ {
+ "const": false,
+ "type": "boolean"
+ },
+ {
+ "enum": [
+ "auto",
+ "manual"
+ ],
+ "type": "string"
+ }
+ ]
+ },
+ "lfs": {
+ "type": "boolean"
+ },
+ "library": {
+ "type": "string"
+ },
+ "likes": {
+ "type": "number"
+ },
+ "name": {
+ "type": "string"
+ },
+ "observed_at": {
+ "type": "string"
+ },
+ "path": {
+ "type": "string"
+ },
+ "private": {
+ "type": "boolean"
+ },
+ "published_at": {
+ "type": "string"
+ },
+ "repo_type": {
+ "enum": [
+ "model",
+ "dataset",
+ "space",
+ "bucket"
+ ],
+ "type": "string"
+ },
+ "sdk": {
+ "type": "string"
+ },
+ "semantic_relevance": {
+ "type": "number"
+ },
+ "size": {
+ "type": "number"
+ },
+ "tags": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "target_uri": {
+ "type": "string"
+ },
+ "task": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "total_files": {
+ "type": "number"
+ },
+ "trending_score": {
+ "type": "number"
+ },
+ "type": {
+ "enum": [
+ "file",
+ "dir",
+ "repo",
+ "bucket",
+ "collection",
+ "paper",
+ "link"
+ ],
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ },
+ "upvotes": {
+ "type": "number"
+ },
+ "uri": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "path"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "exists": {
+ "type": "boolean"
+ },
+ "lfs": {
+ "type": "boolean"
+ },
+ "mime_type": {
+ "enum": [
+ "image/jpeg",
+ "image/png",
+ "image/webp"
+ ],
+ "type": "string"
+ },
+ "namespace": {
+ "type": "string"
+ },
+ "next_offset": {
+ "type": "number"
+ },
+ "op": {
+ "enum": [
+ "ls",
+ "cat",
+ "attach",
+ "stat",
+ "find",
+ "search"
+ ],
+ "type": "string"
+ },
+ "path": {
+ "type": "string"
+ },
+ "published_at": {
+ "type": "string"
+ },
+ "section": {
+ "type": "string"
+ },
+ "size": {
+ "type": "number"
+ },
+ "target_uri": {
+ "type": "string"
+ },
+ "truncated": {
+ "type": "boolean"
+ },
+ "truncation_message": {
+ "type": "string"
+ },
+ "truncation_reason": {
+ "enum": [
+ "entry_limit",
+ "max_bytes",
+ "limit",
+ "provider_limit",
+ "output_budget"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "namespace",
+ "repo",
+ "dir",
+ "file",
+ "collection",
+ "paper",
+ "link",
+ "missing"
+ ],
+ "type": "string"
+ },
+ "uri": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "warnings": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "uri",
+ "op"
+ ],
+ "type": "object"
+ },
+ "status": {
+ "const": "success",
+ "type": "string"
+ }
+ },
+ "required": [
+ "index",
+ "status",
+ "result"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "error": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "enum": [
+ "HF_FS_INVALID_ARGUMENT",
+ "HF_FS_NOT_FOUND",
+ "HF_FS_NOT_A_DIRECTORY",
+ "HF_FS_NOT_A_FILE",
+ "HF_FS_UNSUPPORTED_OPERATION",
+ "HF_FS_ACCESS_DENIED",
+ "HF_FS_TEXT_ONLY",
+ "HF_FS_IMAGE_ONLY",
+ "HF_FS_UNSUPPORTED_MEDIA",
+ "HF_FS_IMAGE_TOO_LARGE",
+ "HF_FS_ATTACHMENT_BUDGET_EXCEEDED",
+ "HF_FS_IMAGE_CONTENT_DISABLED",
+ "HF_FS_ATTACHMENT_INTEGRITY"
+ ],
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "recovery": {
+ "type": "string"
+ },
+ "retryable": {
+ "const": false,
+ "type": "boolean"
+ },
+ "suggestedOperation": {
+ "enum": [
+ "ls",
+ "cat",
+ "attach",
+ "stat",
+ "search"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "message",
+ "recovery",
+ "retryable"
+ ],
+ "type": "object"
+ },
+ "index": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "status": {
+ "const": "error",
+ "type": "string"
+ }
+ },
+ "required": [
+ "index",
+ "status",
+ "error"
+ ],
+ "type": "object"
+ }
+]