setDataSchema
Describe the shape of the data this service serves.
New in DDO v5. A RemoteObject pointing at a schema document, so consumers can know the structure before buying.
Usage
.({
: 'observations.schema.json',
: 'json',
: 'e3b0c44298fc1c149afbf4c8996fb924...',
: [{ : 'url', : 'https://example.org/schema.json', : 'GET' }]
}) Returns
- Type:
ServiceBuilder
The service builder instance, to chain further calls with.