项目作者: Iteam1337

项目描述 :
Validate swedish samordningsnumber in GraphQL
高级语言: JavaScript
项目地址: git://github.com/Iteam1337/graphql-type-samordningsnummer.git


Custom GraphQL scalar for swedish samordningsnummer

As defined by the Swedish Tax Agency

Using the format: “19701063-2391” where the last digit is the luhn checksum of the previous 9 digits (that’s without the millenum and century).

Known caveats

  • Validates that day of birth is between 1-31.