Uighur Muslims and other ethnic minorities are targeted by the Chinese government using predictive technology and locked up in camps under strict rules covering everything down to using the toilet, according to leaked Communist Party documents.

Suspects are identified – often before they have committed a crime – by a digital mass surveillance programme which even flags the users of some mobile phone apps for arrest, the papers reveal.

Once interrogated and detained they are subjected to systematic brainwashing at a network of what the government claimed were “vocational education and training centres” in Xinjiang province.

The indoctrination programme involves awarding points for “ideological education”, “compliance with discipline” and “study and training”, as well as “manner education” such as ”timely haircuts and shaves”.

Detainees are only released from the camps once they have gathered enough points – although they may then have to spend time in another centre for “labour skills training”.

The official documents, which were leaked to the International Consortium of Investigative Journalists, appear to confirm the testimony of former detainees who have spoken about their ordeals.

China destroying Uighur burial grounds Show all 6 1 /6 China destroying Uighur burial grounds China destroying Uighur burial grounds Teywizim cemetery in Hotan (before and after) China is destroying burial grounds where generations of Uighur families have been laid to rest, leaving behind human bones and broken tombs in what activists call an effort to eradicate the ethnic group's identity Earthrise/AFP/Getty China destroying Uighur burial grounds A cemetery in Xayar (before and after) This combo of satellite images received on September 30, 2019 from CNES 2019, distributed by Airbus DS and produced by Earthrise shows a picture from August 29, 2017 (top) showing a cemetery (C) and the same view on July 5, 2019 (bottom) with no sign of the facility in Xayar, Xinjiang province. - China is destroying burial grounds where generations of Uighur families have been laid to rest, leaving behind human bones and broken tombs in what activists call an effort to eradicate the ethnic group's identity in Xinjiang. (Photo by Handout / various sources / AFP) / TO GO WITH China-rights-Xinjiang,FEATURE by Eva Xiao, Pak Yiu, with Andrew Beatty -----EDITORS NOTE --- RESTRICTED TO EDITORIAL USE - MANDATORY CREDIT "AFP PHOTO / CNES 2019/ DISTRIBUTION AIRBUS DS/ PRODUCED BY EARTHRISE" - NO MARKETING - NO ADVERTISING CAMPAIGNS - DISTRIBUTED AS A SERVICE TO CLIENTS - NO ARCHIVES / (Photo by HANDOUT/EARTHRISE/AFP via Getty Images) HANDOUT Earthrise/AFP/Getty China destroying Uighur burial grounds A graveyard in Aksu (before and after) An image of a graveyard in Aksu in 2015, where Uighur poet Lutpulla Mutellip was buried and the same view in 2018 and then again in 2019 showing a new park called "Happiness Park" Earthrise/AFP/Getty China destroying Uighur burial grounds A cemetery in Xayar (before and after) This combo of satellite images received on September 30, 2019 from CNES 2019, distributed by Airbus DS and produced by Earthrise shows a picture from August 29, 2017 (top) showing a cemetery (C) and the same view on July 5, 2019 with no sign of the facility in Xayar, Xinjiang province. - China is destroying burial grounds where generations of Uighur families have been laid to rest, leaving behind human bones and broken tombs in what activists call an effort to eradicate the ethnic group's identity in Xinjiang. (Photo by Handout / various sources / AFP) / TO GO WITH China-rights-Xinjiang,FEATURE by Eva Xiao, Pak Yiu, with Andrew Beatty -----EDITORS NOTE --- RESTRICTED TO EDITORIAL USE - MANDATORY CREDIT "AFP PHOTO / CNES 2019/ DISTRIBUTION AIRBUS DS/ PRODUCED BY EARTHRISE" - NO MARKETING - NO ADVERTISING CAMPAIGNS - DISTRIBUTED AS A SERVICE TO CLIENTS - NO ARCHIVES / (Photo by HANDOUT/EARTHRISE/AFP via Getty Images) HANDOUT Earthrise/AFP/Getty China destroying Uighur burial grounds Sulanim cemetery in Hotan (before and after) This combo of satellite images received on September 30, 2019 from CNES 2019, distributed by Airbus DS and produced by Earthrise shows a picture from April 24, 2018 (top) showing the Sulanim cemetery (C) in Hotan, Xinjiang province and the same view on August 6, 2019 (bottom) with no sign of the facility and it has been replaced with a car park. - China is destroying burial grounds where generations of Uighur families have been laid to rest, leaving behind human bones and broken tombs in what activists call an effort to eradicate the ethnic group's identity in Xinjiang. (Photo by Handout / various sources / AFP) / TO GO WITH China-rights-Xinjiang,FEATURE by Eva Xiao, Pak Yiu, with Andrew Beatty -----EDITORS NOTE --- RESTRICTED TO EDITORIAL USE - MANDATORY CREDIT "AFP PHOTO / CNES 2019/ DISTRIBUTION AIRBUS DS/ PRODUCED BY EARTHRISE" - NO MARKETING - NO ADVERTISING CAMPAIGNS - DISTRIBUTED AS A SERVICE TO CLIENTS - NO ARCHIVES / (Photo by HANDOUT/EARTHRISE/AFP via Getty Images) HANDOUT Earthrise/AFP/Getty China destroying Uighur burial grounds A cemetery in Xayar (before and after) This combo of satellite images received on September 30, 2019 from CNES 2019, distributed by Airbus DS and produced by Earthrise shows a picture from August 20, 2014 (top) showing a cemetery (centre L) and the same view (bottom) on July 5, 2019 where it has been replaced with a a newly built standardised cemetery, in Xayar, Xinjiang province. - China is destroying burial grounds where generations of Uighur families have been laid to rest, leaving behind human bones and broken tombs in what activists call an effort to eradicate the ethnic group's identity in Xinjiang. (Photo by Handout / various sources / AFP) / TO GO WITH China-rights-Xinjiang,FEATURE by Eva Xiao, Pak Yiu, with Andrew Beatty -----EDITORS NOTE --- RESTRICTED TO EDITORIAL USE - MANDATORY CREDIT "AFP PHOTO / CNES 2019/ DISTRIBUTION AIRBUS DS/ PRODUCED BY EARTHRISE" - NO MARKETING - NO ADVERTISING CAMPAIGNS - DISTRIBUTED AS A SERVICE TO CLIENTS - NO ARCHIVES / (Photo by HANDOUT/EARTHRISE/AFP via Getty Images) HANDOUT Earthrise/AFP/Getty

They include Erzhan Qurban, an ethnic Kazakh who was arrested by police on a trip back to China to see his mother and accused of committing crimes abroad. He was locked in a cell, told not to engage in “religious activities” like praying, forced to sit on a plastic stool and prevented from growing a beard. Those who disobeyed were forced to squat or spend 24 hours in solitary confinement in a frigid room.

“It wasn’t education, it was just punishment,” said Mr Qurban, who was held for nine months. “I was treated like an animal.”

Among the cache of documents is a memo by Xinjiang province’s top security chief explaining how to prevent escapes, how to maintain secrecy about the camps’ existence and how to monitor and control every aspect of the detainee’s life.

It says: “The students should have a fixed bed position, fixed queue position, fixed classroom seat, and fixed station during skills work, and it is strictly forbidden for this to be changed.

“Implement behavioural norms and discipline requirements for getting up, roll call, washing, going to the toilet, organising and housekeeping, eating, studying, sleeping, closing the door and so forth.”

Other documents make clear that many of those detained have not actually done anything and that the purpose of the digital surveillance is ”to prevent problems before they happen”.

This is done through a system called the Integrated Joint Operations Platform or IJOP, designed to screen entire populations.

Built by a state-owned military contractor, the IJOP lists names of people considered suspicious, such as thousands of “unauthorised” imams not registered with the Chinese government, along with their associates.

Suspicious or extremist behaviour was so broadly defined that it included going abroad, asking others to pray or using cell phone apps that cannot be monitored by the government.

“There’s no other place in the world where a computer can send you to an internment camp,” said Rian Thum, a Xinjiang expert at the University of Nottingham. “This is absolutely unprecedented.”

The Chinese embassy in the UK described the documents as “fake news” and denied the existence of any “so-called detention camps”.

“Vocational education and training centres have been established for the prevention of terrorism,” it said in a statement.

“The preventative measures have nothing to do with the eradication of religious groups. Religious freedom is fully respected in Xinjiang.”

The embassy also claimed that ”some people in the west have been fiercely slandering and smearing China over Xinjiang in an attempt to create an excuse to interfere in China’s internal affairs”.