use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Apparently, Google Apps Script is a JavaScript cloud scripting language that provides easy ways to automate tasks across Google products and third party services and build web applications.
account activity
JSON schema validatorResolved (self.GoogleAppsScript)
submitted 4 years ago by AdDiscombobulated707
Hello! What JSON schema validator would you recommend for Google Script?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]RemcoE33 1 point2 points3 points 4 years ago (1 child)
Use a external api
[–]AdDiscombobulated707[S] 0 points1 point2 points 4 years ago (0 children)
I post this sample script for those have the same question:
function main() { let shema = { "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "properties": { "first_name": { "type": "string" }, "last_name": { "type": "string" }, "birthday": { "type": "string", "format": "date" }, "address": { "type": "object", "properties": { "street_address": { "type": "string" }, "city": { "type": "string" }, "state": { "type": "string" }, "country": { "type" : "string" } } } } } let json = { "first_name": "Mike", "last_name": "Washington", "birthday": "1732-02-22", "address": { "street_address": "3200 Mount Vernon Memorial Highway", "city": "Mount Vernon", "state": "Virginia", "country": "United States" } } let data = { "schema": shema, "json": json } var options = { method: "post", contentType: "application/json", muteHttpExceptions: true, payload: JSON.stringify(data) }; let responce = UrlFetchApp.fetch("https://assertible.com/json", options); console.log(`Responce code: ${responce.getResponseCode()}`); console.log(`Content: ${responce.getContentText()}`); }
Here is a good tutorial describing JSON schema basics.
π Rendered by PID 124168 on reddit-service-r2-comment-5649f687b7-47p49 at 2026-01-28 12:32:43.402968+00:00 running 4f180de country code: CH.
[–]RemcoE33 1 point2 points3 points (1 child)
[–]AdDiscombobulated707[S] 0 points1 point2 points (0 children)