check_alert_validity_act.txt 466 Bytes
@startuml

title Check alert validity

(*) --> "Read file content"
	--> "Parse XML"
	--> if "Is XML"
		--> [True] if "Is VOEvent"
			--> [True] if "Has all required fields"
				--> [True] if "All values are validated"
					--> [True\n\nReturn True] (*)
				else
					--> [False\n\nReturn False] (*)
				endif
			else
				--> [False\n\nReturn False] (*)
			endif
		else
			--> [False\n\nReturn False] (*)
		endif
	else
		--> [False\n\nReturn False] (*)
	endif
@enduml