Most keys and values in the package schema have regex requirements that need to be met. There are currently no regex checking functions for any of the structs.
Solution
Add regex checking methods for each of the structs used for building an ethpm package schema. The requirements can be found in the ethpm/ethpm-spec repo using both human readable docs and machine readable schema.
Steps to implement
[x] Regex checking method for bytecode.go structs
[x] Regex checking method for compilerinformation.go structs
[x] Regex checking method for contractinstance.go structs
[x] Regex checking method for contractlink.go structs
[x] Regex checking method for contracttype.go structs
[x] Regex checking method for packagemanifest.go struct
[x] Regex checking method for packagemeta.go structs
What is it?
Adding regex checks
Problem
Most keys and values in the package schema have regex requirements that need to be met. There are currently no regex checking functions for any of the structs.
Solution
Add regex checking methods for each of the structs used for building an ethpm package schema. The requirements can be found in the ethpm/ethpm-spec repo using both human readable docs and machine readable schema.
Steps to implement