addedOutput schema / oneOf
Added value: +[
+ {
+ "description": "Reddit search results, served from Reddit RSS (the JSON API blocks our egress). Scores, comment counts and flair are NOT available from RSS.",
+ "properties": {
+ "count": {
+ "type": "number"
+ },
+ "found": {
+ "description": "Present and true on an answer; a miss is the found:false branch.",
+ "enum": [
+ true
+ ],
+ "type": "boolean"
+ },
+ "hint": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "ok": {
+ "type": "boolean"
+ },
+ "posts": {
+ "items": {
+ "properties": {
+ "author": {
+ "description": "Username without the u/ prefix",
+ "type": "string"
+ },
+ "body": {
+ "description": "Self-text as HTML-decoded text; empty for link posts",
+ "type": "string"
+ },
+ "id": {
+ "description": "Reddit post id (base36, e.g. \"1vef79c\")",
+ "type": "string"
+ },
+ "permalink": {
+ "description": "Absolute reddit.com URL",
+ "type": "string"
+ },
+ "published": {
+ "description": "ISO-8601 timestamp",
+ "type": "string"
+ },
+ "subreddit": {
+ "description": "Null when the feed entry does not carry one (e.g. a subreddit-level result)",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "title": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "title",
+ "author",
+ "permalink",
+ "published"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "query": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "sort": {
+ "description": "relevance | new | top | hot",
+ "type": "string"
+ },
+ "subreddit": {
+ "description": "Echo of the subreddit filter, null when searching site-wide",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "ok",
+ "query",
+ "posts"
+ ],
+ "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"
+ }
+]
removedOutput schema / properties
Removed value: -{
- "count": {
- "type": "number"
- },
- "hint": {
- "type": "string"
- },
- "message": {
- "type": "string"
- },
- "ok": {
- "type": "boolean"
- },
- "posts": {
- "items": {
- "properties": {
- "author": {
- "description": "Username without the u/ prefix",
- "type": "string"
- },
- "body": {
- "description": "Self-text as HTML-decoded text; empty for link posts",
- "type": "string"
- },
- "id": {
- "description": "Reddit post id (base36, e.g. \"1vef79c\")",
- "type": "string"
- },
- "permalink": {
- "description": "Absolute reddit.com URL",
- "type": "string"
- },
- "published": {
- "description": "ISO-8601 timestamp",
- "type": "string"
- },
- "subreddit": {
- "description": "Null when the feed entry does not carry one (e.g. a subreddit-level result)",
- "type": [
- "string",
- "null"
- ]
- },
- "title": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "title",
- "author",
- "permalink",
- "published"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "query": {
- "type": "string"
- },
- "reason": {
- "type": "string"
- },
- "sort": {
- "description": "relevance | new | top | hot",
- "type": "string"
- },
- "subreddit": {
- "description": "Echo of the subreddit filter, null when searching site-wide",
- "type": [
- "string",
- "null"
- ]
- }
-}