{"id":18523692,"url":"https://github.com/sonicdoe/jsonfeed-validator","last_synced_at":"2025-12-31T14:43:26.923Z","repository":{"id":57285713,"uuid":"92122656","full_name":"sonicdoe/jsonfeed-validator","owner":"sonicdoe","description":"JSON Feed validator","archived":false,"fork":false,"pushed_at":"2017-05-29T16:38:04.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-07T08:11:56.403Z","etag":null,"topics":["jsonfeed","validator"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sonicdoe.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-23T03:00:19.000Z","updated_at":"2019-01-09T15:27:05.000Z","dependencies_parsed_at":"2022-08-24T16:40:14.362Z","dependency_job_id":null,"html_url":"https://github.com/sonicdoe/jsonfeed-validator","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/sonicdoe/jsonfeed-validator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonicdoe%2Fjsonfeed-validator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonicdoe%2Fjsonfeed-validator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonicdoe%2Fjsonfeed-validator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonicdoe%2Fjsonfeed-validator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sonicdoe","download_url":"https://codeload.github.com/sonicdoe/jsonfeed-validator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonicdoe%2Fjsonfeed-validator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265815279,"owners_count":23832882,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["jsonfeed","validator"],"created_at":"2024-11-06T17:37:09.580Z","updated_at":"2025-12-31T14:43:26.886Z","avatar_url":"https://github.com/sonicdoe.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jsonfeed-validator\n\n[![Node.js package](https://img.shields.io/npm/v/jsonfeed-validator.svg)](https://www.npmjs.com/package/jsonfeed-validator)\n[![Build status](https://img.shields.io/travis/sonicdoe/jsonfeed-validator.svg)](https://travis-ci.org/sonicdoe/jsonfeed-validator)\n\n\u003e [JSON Feed](https://jsonfeed.org) validator\n\n## Installation\n\n```\n$ npm install jsonfeed-validator --save\n```\n\n## Usage\n\n```js\nconst validate = require('jsonfeed-validator')\n\nconst feed = {\n  version: 'https://jsonfeed.org/version/1',\n  title: 'My Example Feed',\n  home_page_url: 'https://example.org/',\n  feed_url: 'https://example.org/feed.json',\n  items: [\n    {\n      content_html: '\u003cp\u003eHello, world!\u003c/p\u003e',\n      url: 'https://example.org/initial-post'\n    }\n  ]\n}\n\nconst results = validate(feed)\n/*\n  [\n    {\n      ruleId: 'schema',\n      message: 'should have required property \\'id\\' at path \\'.items[0]\\''\n    }\n  ]\n*/\n```\n\n### API\n\n#### validate(feed)\n\n##### feed\n\nType: `object`\n\nJSON Feed to be validated.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsonicdoe%2Fjsonfeed-validator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsonicdoe%2Fjsonfeed-validator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsonicdoe%2Fjsonfeed-validator/lists"}