Skip to main content

ExtensionGenerationOptions

The options for generating an extension

idstringrequired

The identifier of the extension

Possible values: non-empty and <= 32 characters, Value must match regular expression ^[a-z0-9A-Z-_.]{1,32}$

Example: extension-id
versionstringrequired

The version of the extension, which should follow the semver convention

Possible values: >= 5 characters and <= 32 characters, Value must match regular expression ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$

Example: 1.0.0
namestringrequired

The name of the extension

Possible values: non-empty and <= 128 characters, Value must match regular expression ^[a-z0-9A-Z-_.:;|/ ]{1,128}$

Example: My extension
descriptionstringrequired

The description of the extension's purpose

Possible values: non-empty and <= 1024 characters

Example: Computes the embeddings of images.
categoriesExtensionCategory[]required

The categories the extension belongs to

Possible values: [capture, generation, enrichment, integration, utility, other], >= 1

authorstringrequired

The author of the extension

Possible values: non-empty and <= 128 characters

Example: John Doe
environmentManifestRuntimeEnvironmentrequired

The runtime the extension relies on

Possible values: [python, node]

Example: python
sdkVersionstring

The version of the SDK extension will rely on

Possible values: >= 5 characters and <= 32 characters, Value must match regular expression ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$

Example: 1.0.0
ExtensionGenerationOptions
{
"id": "extension-id",
"version": "1.0.0",
"name": "My extension",
"description": "Computes the embeddings of images.",
"categories": [
"capture"
],
"author": "John Doe",
"environment": "python",
"sdkVersion": "1.0.0"
}