0504 Implementation Snippets¶
Developers can be aided in their work by having snippets of schema implementation that follow approved structures and naming conventions that they can include in their APIs and data structures.
The ImplementationSnippet entity is for the storage of an implementation snippet, along with details of its language and version. It inherits from Referenceable which means it can have a link to an external reference which could be, say, a physical schema implementation in a source code repository).
SchemaTypeSnippet links a schema type to an implementation snippet to guide developers on how to implement the schema type. There is also DataClassSnippet that links a data class to a snippet.
This relationship links a concrete implementation to a schema type.