Skip to content

checklist issue for dpack-1 validation conditions #31

@nmushegian

Description

@nmushegian

isValidType and isValidObject

  • typenames are mixedcase alphanumeric plus underscores
  • typenames start with capital letter
    isValidObject
  • objectnames are mixedcase alphanumeric plus underscores
  • objectnames start with lowercase letter
    isValidPack
  • typenames are equal to the key of the type in types
  • objectnames are equal to the key of the object in objects

isValidPack

  • typenames and objectnames equal the keys used to name the descriptor objects in the pack
  • Has “network”
  • “network” is a string
  • “network” is not “mainnet” (suggest “ethereum”)
  • Has “format”
  • “format” is a string
  • “format” is “dpack-1”
  • Has “objects”
  • “object” is a (JSON) object
  • Has “types”
  • “types” is a (JSON) object

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions