job_schema

Contents

job_schema#

rapidtools.jobs.job_schema() → dict[str, Any][source]#

Return the JSON Schema (draft 2020-12) of a job file.

The schema is generated from the registered step types, so it always describes exactly what this rapidtools release accepts.

Example

>>> schema = job_schema()
>>> schema['properties']['schema']['const']
'rapidtools.job'
>>> 'step.detect.aerial' in schema['$defs']
True