2. Can I leave with a contract for less than a year?

No, the first contract of a Junior Expert always is a minimum one-year contract. Afterwards, depending on the needs of the project, it is possible to extend it for a year (or less).
The term of the assignment (1 year, 1 year with possible extension or 2 years) is always mentioned when the job opening is published.