# China ID Card and USCC Batch Validator

**Use case:** 

Validate and mask Chinese resident ID cards and Unified Social Credit Codes in bulk with deterministic checksum checks and privacy-safe output.

## Input

```json
{
  "records": [
    {
      "id": "id-card-sample",
      "type": "residentId",
      "value": "11010519491231002X"
    },
    {
      "id": "uscc-sample",
      "type": "socialCreditCode",
      "value": "91350100M000100Y43"
    }
  ]
}
```

## Output

```json
{
  "inputId": {
    "label": "Input ID",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "requestedType": {
    "label": "Requested type",
    "format": "string"
  },
  "detectedType": {
    "label": "Detected type",
    "format": "string"
  },
  "maskedValue": {
    "label": "Masked value",
    "format": "string"
  },
  "isValid": {
    "label": "Valid",
    "format": "boolean"
  },
  "errorCodes": {
    "label": "Error codes",
    "format": "array"
  }
}
```

## About this Actor

This example demonstrates how to use [Chinese Identifier Validation Toolkit](https://apify.com/prizable_aster/chinese-identifier-validation-toolkit) with a specific input configuration. Visit the [Actor detail page](https://apify.com/prizable_aster/chinese-identifier-validation-toolkit) to learn more, explore other use cases, and run it yourself.