From 9ba7d5b85c6d38a1c4345575a7b97b61345cf378 Mon Sep 17 00:00:00 2001
From: Terry Burton
hasnondigit The hasnondigit
linter ensures that the given data contains a non-digit character hh The hh
linter ensures that the given data is a meaningful hour number in a day
- hhmi The hhmi
linter ensures that the given data is meaningful time as hours and minutes, in HHMI format
- hhmm Not used
- hyphen The hyphen
linter ensures that the given data contains only hyphens
- iban The iban
linter ensures that the data conforms to the format required for an International Bank Account Number (IBAN) number
- importeridx The importeridx
linter ensures that the given data is a valid Importer Index, as included in a Facility ID or Machine ID used in the EU 2018/574 system
- iso3166 The iso3166
linter ensures that the data represents a valid ISO 3166 "num-3" country code
- iso3166999 The iso3166999
linter ensures that the data represents an ISO 3166 "num-3" country code, or the value "999"
- iso3166alpha2 The iso3166alpha2
linter ensures that the data represents an ISO 3166 "alpha-2" country code
- iso3166list Not used
- iso4217 The iso4217
linter ensures that the data is in the list of ISO 4217 three-digit currency codes
- iso5218 The iso5218
linter ensures that the given data represents a ISO/IEC 5218 biological sex code, either "0" (not known), "1" (male), "2" (female) or "9" (not applicable)
- key The key
linter checks whether an input starts with a GS1 Company Prefix ("GCP")
- latitude The latitude
linter ensures that the given data represents the latitude component of a WGS84 coordinate expressed as a 10-digit number
- longitude The longitude
linter ensures that the given data represents the longitude component of a WGS84 coordinate expressed as a 10-digit number
- mediatype The mediatype
linter ensures that the data represents a valid AIDC media type
- mi The mi
linter ensures that the given data is a meaningful minute number in an hour
- mmoptss Not used
- nonzero The nonzero
linter ensures that the given data has a non-zero value
- nozeroprefix The nozeroprefix
linter ensures that the given data does not start with a zero
- packagetype The packagetype
linter ensures that the data represents a valid UN/ECE Recommendation 21 alphanumeric code, extended with additional GS1 code values
- pcenc The pcenc
linter ensures that the data has correct percent-encoding
- pieceoftotal The pieceoftotal
linter ensures that the data represents a meaningful piece of total, i.e. a concatenation of non-zero piece number follow by an equal-width, non-zero total number of pieces
- posinseqslash The posinseqslash
linter ensures that the data represents a meaningful position in a sequence in the format "`<pos>/<end>`"
- ss The ss
linter ensures that the given data is a meaningful second number in a minute
- winding The winding
linter ensures that the given data represents a meaningful Winding Direction on a roll, either "0" (face out), "1" (face in) or "9" (undefined)
- yesno The yesno
linter ensures that the given data represents a meaningful boolean state, either "0" (no) or "1" (yes)
- yymmd0 The yymmd0
linter ensures that the data represents a meaningful date, in YYMMDD format, additionally permitting YYMM00 format indicating an unspecified day
- yymmdd The yymmdd
linter ensures that the data represents a meaningful date, in YYMMDD format
- yymmddhh Not used
- yyyymmd0 The yyyymmd0
linter ensures that the data represents a meaningful date, in YYYYMMDD format, additionally permitting YYYYMM00 format indicating an unspecified day
- yyyymmdd The yyyymmdd
linter ensures that the data represents a meaningful date, in YYYYMMDD format
+ zero The zero
linter ensures that the given data has a zero value
+ hyphen The hyphen
linter ensures that the given data contains only hyphens
+ iban The iban
linter ensures that the data conforms to the format required for an International Bank Account Number (IBAN) number
+ importeridx The importeridx
linter ensures that the given data is a valid Importer Index, as included in a Facility ID or Machine ID used in the EU 2018/574 system
+ iso3166 The iso3166
linter ensures that the data represents a valid ISO 3166 "num-3" country code
+ iso3166999 The iso3166999
linter ensures that the data represents an ISO 3166 "num-3" country code, or the value "999"
+ iso3166alpha2 The iso3166alpha2
linter ensures that the data represents an ISO 3166 "alpha-2" country code
+ iso4217 The iso4217
linter ensures that the data is in the list of ISO 4217 three-digit currency codes
+ iso5218 The iso5218
linter ensures that the given data represents a ISO/IEC 5218 biological sex code, either "0" (not known), "1" (male), "2" (female) or "9" (not applicable)
+ key The key
linter checks whether an input starts with a GS1 Company Prefix ("GCP")
+ latitude The latitude
linter ensures that the given data represents the latitude component of a WGS84 coordinate expressed as a 10-digit number
+ longitude The longitude
linter ensures that the given data represents the longitude component of a WGS84 coordinate expressed as a 10-digit number
+ mediatype The mediatype
linter ensures that the data represents a valid AIDC media type
+ mi The mi
linter ensures that the given data is a meaningful minute number in an hour
+ nonzero The nonzero
linter ensures that the given data has a non-zero value
+ nozeroprefix The nozeroprefix
linter ensures that the given data does not start with a zero
+ packagetype The packagetype
linter ensures that the data represents a valid UN/ECE Recommendation 21 alphanumeric code, extended with additional GS1 code values
+ pcenc The pcenc
linter ensures that the data has correct percent-encoding
+ pieceoftotal The pieceoftotal
linter ensures that the data represents a meaningful piece of total, i.e. a concatenation of non-zero piece number follow by an equal-width, non-zero total number of pieces
+ posinseqslash The posinseqslash
linter ensures that the data represents a meaningful position in a sequence in the format "`<pos>/<end>`"
+ ss The ss
linter ensures that the given data is a meaningful second number in a minute
+ winding The winding
linter ensures that the given data represents a meaningful Winding Direction on a roll, either "0" (face out), "1" (face in) or "9" (undefined)
+ yesno The yesno
linter ensures that the given data represents a meaningful boolean state, either "0" (no) or "1" (yes)
+ yymmd0 The yymmd0
linter ensures that the data represents a meaningful date, in YYMMDD format, additionally permitting YYMM00 format indicating an unspecified day
+ yymmdd The yymmdd
linter ensures that the data represents a meaningful date, in YYMMDD format
+ yyyymmd0 The yyyymmd0
linter ensures that the data represents a meaningful date, in YYYYMMDD format, additionally permitting YYYYMM00 format indicating an unspecified day
+ yyyymmdd The yyyymmdd
linter ensures that the data represents a meaningful date, in YYYYMMDD format zero The zero
linter ensures that the given data has a zero value
+ GS1 Barcode Syntax Tests reference
+
+ A reference to the AI component "linter" routines referred to by the GS1 Barcode Syntax Dictionary. Copyright (c) 2022-2024 GS1 AISBL.
+ |
+
+Macros | |
#define | GS1_LINTER_STUB(linter) |
Generates a stub function to replace legacy linters. | |
Unused linter stub functions.
+#define GS1_LINTER_STUB | +( | ++ | linter | ) | ++ |
Generates a stub function to replace legacy linters.
+The generated stub function is retained for API compatibility purposes only and is no longer referenced by the Syntax Dictionary.
+
- GS1 Barcode Syntax Tests reference
-
- A reference to the AI component "linter" routines referred to by the GS1 Barcode Syntax Dictionary. Copyright (c) 2022-2024 GS1 AISBL.
- |
-
Not used.
-GS1_SYNTAX_DICTIONARY_API DEPRECATED gs1_lint_err_t gs1_lint_hhmm | -( | -const char *const | -data, | -
- | - | size_t *const | -err_pos, | -
- | - | size_t *const | -err_len | -
- | ) | -- |
Not used.
-[in] | data | Not used. |
[out] | err_pos | Not used. |
[out] | err_len | Not used. |
- GS1 Barcode Syntax Tests reference
-
- A reference to the AI component "linter" routines referred to by the GS1 Barcode Syntax Dictionary. Copyright (c) 2022-2024 GS1 AISBL.
- |
-
Not used.
-GS1_SYNTAX_DICTIONARY_API DEPRECATED gs1_lint_err_t gs1_lint_iso3166list | -( | -const char *const | -data, | -
- | - | size_t *const | -err_pos, | -
- | - | size_t *const | -err_len | -
- | ) | -- |
Not used.
-[in] | data | Not used. |
[out] | err_pos | Not used. |
[out] | err_len | Not used. |
- GS1 Barcode Syntax Tests reference
-
- A reference to the AI component "linter" routines referred to by the GS1 Barcode Syntax Dictionary. Copyright (c) 2022-2024 GS1 AISBL.
- |
-
Not used.
-GS1_SYNTAX_DICTIONARY_API DEPRECATED gs1_lint_err_t gs1_lint_mmoptss | -( | -const char *const | -data, | -
- | - | size_t *const | -err_pos, | -
- | - | size_t *const | -err_len | -
- | ) | -- |
Not used.
-[in] | data | Not used. |
[out] | err_pos | Not used. |
[out] | err_len | Not used. |
- GS1 Barcode Syntax Tests reference
-
- A reference to the AI component "linter" routines referred to by the GS1 Barcode Syntax Dictionary. Copyright (c) 2022-2024 GS1 AISBL.
- |
-
Not used.
-GS1_SYNTAX_DICTIONARY_API DEPRECATED gs1_lint_err_t gs1_lint_yymmddhh | -( | -const char *const | -data, | -
- | - | size_t *const | -err_pos, | -
- | - | size_t *const | -err_len | -
- | ) | -- |
Not used.
-[in] | data | Not used. |
[out] | err_pos | Not used. |
[out] | err_len | Not used. |