Files
notifications-api/app/performance_dashboard/performance_dashboard_schema.py

11 lines
386 B
Python

performance_dashboard_request = {
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "Performance dashboard request schema",
"type": "object",
"title": "Performance dashboard request",
"properties": {
"start_date": {"type": ["string", "null"], "format": "date"},
"end_date": {"type": ["string", "null"], "format": "date"},
},
}