UNPKG

recipe-scraper

Version:

A JS package for scraping recipes from the web.

44 lines (43 loc) 1.03 kB
{ "$schema": "http://json-schema.org/draft-07/schema#", "description": "A recipe scraped from the web", "type": "object", "required": ["name", "ingredients", "instructions"], "properties": { "name": { "type": "string", "minLength": 1 }, "ingredients": { "type": "array", "minItems": 1, "items": { "type": "string" } }, "instructions": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "type": "string" } }, "tags": { "type": "array", "uniqueItems": true, "items": { "type": "string" } }, "time": { "type": "object", "properties": { "prep": { "type": "string" }, "cook": { "type": "string" }, "active": { "type": "string" }, "inactive": { "type": "string" }, "ready": { "type": "string" }, "total": { "type": "string" } } }, "servings": { "type": { "type": "string" } }, "image": { "type": "string" } } }