The schema converted into a string array split on '.'
Returns undefined|string[]
string[]
rootDomain
getrootDomain():undefined|string
The rootDomain is the first two levels of the schema, in reverse order
This can be used to determine who 'owns' that schema, based on domain
registration
Returns undefined|string
string
Methods
all
all():Error[]
Run all static validations
Returns Error[]
Error[]
allDynamic
allDynamic():Promise<Error[]>
Run all the validations
Returns Promise<Error[]>
Error[]
domainExistenceDepth
domainExistenceDepth():Promise<number>
Determines how many levels of the schema's reverse domain
pass DNS resolution
Returns Promise<number>
number (0 if none exist)
rootDomainExists
rootDomainExists():Promise<boolean>
Checks if the root domain validates via DNS resolution
Validates a XYO schema structure and existence