A Northern Territory teenage girl charged with serious terrorism offences could return home to her family after her lawyer made a bid for bail.
The 15-year-old was arrested and charged earlier this month with making or collecting documents likely to facilitate a terrorist act.
The judge is expected to make a decision on bail later today.
The diary entries of a 15-year-old Northern Territory girl charged with a terrorism related offence allegedly reveal she "had plans to shoot her school", a court has heard.
The 15-year-old girl has been in custody since being charged with collecting or making documents likely to facilitate a terrorist act 10 days ago.
Commonwealth prosecutor Hadi Mazloum opposed the bail application, telling the court the main concern was a risk to community safety.
"That's because of the risk of the infliction of ideologically motivated violence and an online presence which could be seen to encourage extreme violence," he said.
Mr Mazloum referenced diary entries allegedly made by the teenager which he said included plans to carry out a school shooting and while the proposed bail conditions were strict, parental supervision would be "inadequate".
Mr Mazloum opposed the characterisation of the diary entries as that of a "young girl who was bullied and venting, not planning".