# StandardFormat

`StandardFormat` defines the standard barcode format.

## JSON Structure

**Location in template:**
```
BarcodeFormatSpecificationOptions[i]
    └── StandardFormat
```

**Parent object:** [BarcodeFormatSpecification](https://www.dynamsoft.com/capture-vision/docs/core/parameters/file/auxiliary/barcode-format-specification.md) object

**Example:**

```json
{
    "StandardFormat": "BF_CODE128"
}
```

> [!NOTE]
> - This snippet shows only the `StandardFormat` parameter.
> - To use it, embed this parameter within a [BarcodeFormatSpecification](https://www.dynamsoft.com/capture-vision/docs/core/parameters/file/auxiliary/barcode-format-specification.md) object.
> - For the complete JSON structure, see:
>   - [Full JSON Structure](https://www.dynamsoft.com/capture-vision/docs/core/parameters/file/index.md#full-json-structure)
>   - [Minimal Valid JSON](https://www.dynamsoft.com/capture-vision/docs/core/parameters/file/index.md#minimal-valid-json-example)

## Parameter Details

The structure of the`StandardFormat` is shown as follow:

| StandardFormat  Parameter Details |
| :--------------------------------- |
| **Type**<br>*string* |
| **Range**<br>A string value from the `BarcodeFormat` enumeration, excluding combined values (BF_ALL, BF_DEFAULT, BF_ONED, BF_GS1_DATABAR, BF_POSTALCODE, BF_PHARMACODE). |
| **Default Value**<br> ""|

**Remarks**

`BarcodeFormat` enumeration for all supported barcode formats:

| Format | Description |
| ------ | ----------- |
| BF_ALL | All supported formats. |
| BF_DEFAULT | The default barcode format settings. It's a combined value of BF_ONED, BF_GS1_DATABAR, BF_PDF417, BF_QR_CODE, BF_DATAMATRIX, BF_AZTEC, BF_MAXICODE, BF_MICRO_QR, BF_MICRO_PDF417, BF_GS1_COMPOSITE. |
| BF_ONED | Combined value of BF_CODABAR, BF_CODE_128, BF_CODE_39, BF_CODE_39_Extended, BF_CODE_93, BF_EAN_13, BF_EAN_8, INDUSTRIAL_25, BF_ITF, BF_UPC_A, BF_UPC_E, BF_MSI_CODE. |
| BF_GS1_DATABAR | Combined value of BF_GS1_DATABAR_OMNIDIRECTIONAL, BF_GS1_DATABAR_TRUNCATED, BF_GS1_DATABAR_STACKED, BF_GS1_DATABAR_STACKED_OMNIDIRECTIONAL, BF_GS1_DATABAR_EXPANDED, BF_GS1_DATABAR_EXPANDED_STACKED, BF_GS1_DATABAR_LIMITED. |
| BF_POSTALCODE | Combined value of BF_USPSINTELLIGENTMAIL, BF_POSTNET, BF_PLANET, BF_AUSTRALIANPOST, BF_RM4SCC, BF_KIX. |
| BF_CODE_39 | Code 39. |
| BF_CODE_128 | Code 128. |
| BF_CODE_93 | Code 93. |
| BF_CODABAR | Codabar. |
| BF_ITF | Interleaved 2 of 5. |
| BF_EAN_13 | EAN-13. |
| BF_EAN_8 | EAN-8. |
| BF_UPC_A | UPC-A. |
| BF_UPC_E | UPC-E. |
| BF_INDUSTRIAL_25 | Industrial 2 of 5. |
| BF_CODE_39_EXTENDED | CODE39 Extended. |
| BF_GS1_DATABAR_OMNIDIRECTIONAL | GS1 Databar Omnidirectional. |
| BF_GS1_DATABAR_TRUNCATED | GS1 Databar Truncated. |
| BF_GS1_DATABAR_STACKED | GS1 Databar Stacked. |
| BF_GS1_DATABAR_STACKED_OMNIDIRECTIONAL | GS1 Databar Stacked Omnidirectional. |
| BF_GS1_DATABAR_EXPANDED | GS1 Databar Expanded. |
| BF_GS1_DATABAR_EXPANDED_STACKED | GS1 Databar Expanded Stacked. |
| BF_GS1_DATABAR_LIMITED | GS1 Databar Limited. |
| BF_PATCHCODE | Patch code. |
| BF_CODE_32 | Code 32. |
| BF_PDF417 | PDF417. |
| BF_QR_CODE | QRCode. |
| BF_DATAMATRIX | DataMatrix. |
| BF_AZTEC | AZTEC. |
| BF_MAXICODE | MAXICODE. |
| BF_MICRO_QR | Micro QR Code. |
| BF_MICRO_PDF417 | Micro PDF417. |
| BF_GS1_COMPOSITE | GS1 Composite Code. |
| BF_MSI_CODE | MSI Code. |
| BF_CODE_11 | Code 11. |
| BF_TWO_DIGIT_ADD_ON | Decode barcode with 2 digital addons. |
| BF_FIVE_DIGIT_ADD_ON | Decode barcode with 5 digital addons. |
| BF_MATRIX_25 | Matrix 25. |
| BF_TELEPEN | Telepen. |
| BF_TELEPEN_NUMERIC | Telepen Numeric. A variation of the Telepen format optimized for encoding numeric data only. |
| BF_NONSTANDARD_BARCODE | Nonstandard barcode. |
| BF_USPSINTELLIGENTMAIL | USPS Intelligent Mail. |
| BF_POSTNET | Postnet. |
| BF_PLANET | Planet. |
| BF_AUSTRALIANPOST | Australian Post. |
| BF_RM4SCC | Royal Mail 4-State Customer Barcode. |
| BF_KIX | KIX. |
| BF_DOTCODE | DotCode. |
| BF_PHARMACODE_ONE_TRACK | Pharmacode One Track. |
| BF_PHARMACODE_TWO_TRACK | Pharmacode Two Track. |
| BF_PHARMACODE | Combined value of BF_PHARMACODE_ONE_TRACK, BF_PHARMACODE_TWO_TRACK. |
