What is YAML ?
YAML (YAML Ain't Markup Language) is a data serialization standard or format which is human friendly. If you notice the syntax, is is pretty similar to Python syntax because of the indentation. Yes, indentation is important on YAML(the indentation before text) , so if you miss the indentation before the text, your YAML text may no longer valid.
By using indentation, YAML text also more easier to read
Sample of YAML Formatted Text :
name: doggy skills: - duration: 5 name: bark - duration: 2 name: smile - duration: 99999 name: loving
Sample of Invalid YAML Text :
name: doggy skills: - duration: 3 name: bark blabla - duration: 2 - name: smile
- You probably have mixed use of space and tab on your document