Skip to content
LogoLogo

setInputSchema

Describe the input an algorithm service expects.

New in DDO v5. The algorithm counterpart of setDataSchema.

Usage

.({ 
  : 'input.schema.json', 
  : 'json', 
  : 'e3b0c44298fc1c149afbf4c8996fb924...', 
  : [{ : 'url', : 'https://example.org/input.json', : 'GET' }] 
}) 

Returns

The service builder instance, to chain further calls with.