pyocf.types.countrysubdivisioncode

Type representation of the second part of an ISO 3166-2 country subdivision code

pydantic model pyocf.types.countrysubdivisioncode.CountrySubdivisionCode

Type representation of the second part of an ISO 3166-2 country subdivision code

field root: StringConstraints(strip_whitespace=None, to_upper=None, to_lower=None, strict=None, min_length=None, max_length=None, pattern=^[A-Z0-9]{1,3}$)] [Required]
Constraints:
  • pattern = ^[A-Z0-9]{1,3}$