validate(content: unknown): { content: TypeOfMap[TKey]; error: undefined } | { content: undefined; error: ValidationError } {
return { content: undefined, error: { message: `Expected ${this.type}, but got ${typeof content}` } };
}
return { content: content as TypeOfMap[TKey], error: undefined };
}
getJSONSchema(): IJSONSchema {