Skip to content

Add JSON Schema–based type for DAG input parameters #1182

@yottahmd

Description

@yottahmd

I’d like to add optional JSON Schema–based validation for DAG input parameters. This issue is only about the input schema (no outputs).

Proposed YAML:

params:
  type: object
  properties:
    batch_size:
      type: integer
      default: 10
      readonly: true
    start_date:
      type: string
      format: date
    debug:
      type: boolean
      default: false
  required: ["start_date"]

Feedback on the schema shape and defaults would be great. Thanks!

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions