{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/crystal-reports/refs/heads/main/json-schema/crystal-reports-report-parameter-schema.json",
"title": "ReportParameter",
"description": "A parameter that can be set when running the report",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Parameter name",
"example": "StartDate"
},
"type": {
"type": "string",
"description": "Data type of the parameter",
"example": "Date"
},
"prompt": {
"type": "string",
"description": "Prompt text shown to the user",
"example": "Enter the start date"
},
"required": {
"type": "boolean",
"description": "Whether the parameter is required",
"example": true
},
"default_value": {
"type": "string",
"description": "Default value for the parameter",
"example": "2023-01-01"
}
}
}