Built-in functions and TypeScript type definitions for creating custom artifact types in Apicurio Registry