validate_plan

validate_plan(input_type, plan=None, declaration_mode=False, hard_validation=False, type_approval_mode=False)[source]

Validate plan data.

Parameters:
  • input_type (str) – Type of file input.
  • plan (dict) – Plan data.
  • declaration_mode (bool) – Use only the declaration data.
  • hard_validation (bool) – Add extra data validations.
  • type_approval_mode (bool) – Is launched for TA?
Returns:

Validated plan data.

Return type:

dict