UNPKG

@attestate/crawler

Version:

@attestate/crawler is a tool chain to retrieve on-chain data from Ethereum.

42 lines (41 loc) 824 B
const https = { type: "object", properties: { type: { type: "string", enum: ["https"], }, commissioner: { type: "string", }, version: { type: "string", }, options: { type: "object", properties: { timeout: { $comment: "temporal unit is milliseconds", type: "integer", }, url: { type: "string", format: "uri", pattern: "^(https|http)://", }, method: { type: "string" }, body: { type: "string" }, headers: { type: "object" }, }, required: ["url", "method"], }, results: { type: "object", }, error: { type: "string", }, }, required: ["type", "commissioner", "version", "options"], }; export default https;