[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"Spicepod Definition","description":"A Spicepod definition is a YAML file that describes a Spicepod.","type":"object","properties":{"catalogs":{"type":"array","items":{"$ref":"#/$defs/ComponentOrReference_for_Catalog"}},"datasets":{"type":"array","items":{"$ref":"#/$defs/ComponentOrReference_for_Dataset"}},"dependencies":{"type":"array","items":{"type":"string"}},"embeddings":{"type":"array","items":{"$ref":"#/$defs/ComponentOrReference_for_Embeddings"}},"evals":{"type":"array","items":{"$ref":"#/$defs/ComponentOrReference_for_Eval"}},"extensions":{"description":"Optional extensions configuration","type":"object","additionalProperties":{"$ref":"#/$defs/Extension"}},"kind":{"description":"The kind of Spicepod","$ref":"#/$defs/SpicepodKind"},"management":{"description":"Optional management configuration","anyOf":[{"$ref":"#/$defs/Management"},{"type":"null"}]},"metadata":{"type":"object","additionalProperties":true},"models":{"type":"array","items":{"$ref":"#/$defs/ComponentOrReference_for_Model"}},"name":{"description":"The name of the Spicepod","type":"string"},"runtime":{"description":"Optional runtime configuration","$ref":"#/$defs/Runtime"},"secrets":{"description":"Optional spicepod secrets configuration\n Default value is:\n ```yaml\n secrets:\n   - from: env\n     name: env\n ```","type":"array","items":{"$ref":"#/$defs/Secret"}},"tools":{"type":"array","items":{"$ref":"#/$defs/ComponentOrReference_for_Tool"}},"version":{"description":"The version of the Spicepod","$ref":"#/$defs/SpicepodVersion"},"views":{"type":"array","items":{"$ref":"#/$defs/ComponentOrReference_for_View"}},"workers":{"type":"array","items":{"$ref":"#/$defs/ComponentOrReference_for_Worker"}}},"required":["name","version","kind"],"$defs":{"Acceleration":{"type":"object","properties":{"enabled":{"type":"boolean","default":true},"engine":{"type":["string","null"]},"indexes":{"type":"object","additionalProperties":{"$ref":"#/$defs/IndexType"}},"metrics":{"anyOf":[{"$ref":"#/$defs/Metrics"},{"type":"null"}]},"mode":{"$ref":"#/$defs/Mode2","default":"memory"},"on_conflict":{"type":"object","additionalProperties":{"$ref":"#/$defs/OnConflictBehavior"}},"on_zero_results":{"$ref":"#/$defs/ZeroResultsAction","default":"return_empty"},"params":{"anyOf":[{"$ref":"#/$defs/Params"},{"type":"null"}]},"primary_key":{"type":["string","null"]},"ready_state":{"anyOf":[{"$ref":"#/$defs/ReadyState"},{"type":"null"}],"default":null,"deprecated":true},"refresh_append_overlap":{"type":["string","null"]},"refresh_check_interval":{"type":["string","null"]},"refresh_cron":{"type":["string","null"]},"refresh_data_window":{"type":["string","null"]},"refresh_jitter_enabled":{"type":"boolean","default":false},"refresh_jitter_max":{"type":["string","null"]},"refresh_mode":{"anyOf":[{"$ref":"#/$defs/RefreshMode"},{"type":"null"}]},"refresh_on_startup":{"$ref":"#/$defs/RefreshOnStartup","default":"auto"},"refresh_retry_enabled":{"type":"boolean","default":true},"refresh_retry_max_attempts":{"type":["integer","null"],"format":"uint","minimum":0},"refresh_sql":{"type":["string","null"]},"retention_check_enabled":{"type":"boolean"},"retention_check_interval":{"type":["string","null"]},"retention_period":{"type":["string","null"]}},"additionalProperties":false},"ApiKey":{"oneOf":[{"type":"object","properties":{"ReadOnly":{"type":"object","properties":{"key":{"type":"string"}},"required":["key"]}},"additionalProperties":false,"required":["ReadOnly"]},{"type":"object","properties":{"ReadWrite":{"type":"object","properties":{"key":{"type":"string"}},"required":["key"]}},"additionalProperties":false,"required":["ReadWrite"]}]},"ApiKeyAuth":{"type":"object","properties":{"enabled":{"type":"boolean","default":true},"keys":{"type":"array","items":{"$ref":"#/$defs/ApiKey"}}},"additionalProperties":false,"required":["keys"]},"Auth":{"type":"object","properties":{"api_key":{"anyOf":[{"$ref":"#/$defs/ApiKeyAuth"},{"type":"null"}]}},"additionalProperties":false},"CacheConfig":{"type":"object","properties":{"enabled":{"type":"boolean","default":true},"eviction_policy":{"type":["string","null"]},"hashing_algorithm":{"$ref":"#/$defs/HashingAlgorithm","default":"siphash"},"item_ttl":{"type":["string","null"]},"max_size":{"type":["string","null"]}}},"CacheKeyType":{"type":"string","enum":["plan","sql"]},"Caching":{"type":"object","properties":{"search_results":{"anyOf":[{"$ref":"#/$defs/CacheConfig"},{"type":"null"}]},"sql_results":{"anyOf":[{"$ref":"#/$defs/SQLResultsCacheConfig"},{"type":"null"}]}}},"Catalog":{"type":"object","properties":{"description":{"type":["string","null"]},"dataset_params":{"anyOf":[{"$ref":"#/$defs/Params"},{"type":"null"}]},"dependsOn":{"type":"array","items":{"type":"string"}},"from":{"type":"string"},"include":{"type":"array","items":{"type":"string"}},"metadata":{"type":"object","additionalProperties":true},"metrics":{"anyOf":[{"$ref":"#/$defs/Metrics"},{"type":"null"}]},"name":{"type":"string"},"params":{"anyOf":[{"$ref":"#/$defs/Params"},{"type":"null"}]}},"required":["from","name"]},"Column":{"type":"object","properties":{"description":{"description":"Optional semantic details about the column","type":["string","null"]},"embeddings":{"type":"array","items":{"$ref":"#/$defs/ColumnLevelEmbeddingConfig"}},"full_text_search":{"anyOf":[{"$ref":"#/$defs/FullTextSearchConfig"},{"type":"null"}]},"name":{"type":"string"}},"required":["name"]},"ColumnEmbeddingConfig":{"description":"Configuration for if and how a dataset's column should be embedded.\n\n Prefer to use [`super::dataset::column::ColumnLevelEmbeddingConfig`] going\n forward. Support for [`ColumnEmbeddingConfig`] will be removed in future.","type":"object","properties":{"chunking":{"anyOf":[{"$ref":"#/$defs/EmbeddingChunkConfig"},{"type":"null"}]},"column":{"type":"string"},"column_pk":{"type":["array","null"],"items":{"type":"string"}},"use":{"type":"string","default":""}},"required":["column"]},"ColumnLevelEmbeddingConfig":{"description":"Configuration for if and how a dataset's column should be embedded.\n Different to [`crate::component::embeddings::ColumnEmbeddingConfig`],\n as [`ColumnLevelEmbeddingConfig`] should be a property of [`Column`],\n not [`super::Dataset`].\n\n [`crate::component::embeddings::ColumnEmbeddingConfig`] will be\n deprecated long term in favour of [`ColumnLevelEmbeddingConfig`].","type":"object","properties":{"chunking":{"anyOf":[{"$ref":"#/$defs/EmbeddingChunkConfig"},{"type":"null"}]},"from":{"type":"string","default":""},"row_id":{"type":["array","null"],"items":{"type":"string"}}}},"ComponentOrReference_for_Catalog":{"anyOf":[{"$ref":"#/$defs/Catalog"},{"$ref":"#/$defs/ComponentReference"}]},"ComponentOrReference_for_Dataset":{"anyOf":[{"$ref":"#/$defs/Dataset"},{"$ref":"#/$defs/ComponentReference"}]},"ComponentOrReference_for_Embeddings":{"anyOf":[{"$ref":"#/$defs/Embeddings"},{"$ref":"#/$defs/ComponentReference"}]},"ComponentOrReference_for_Eval":{"anyOf":[{"$ref":"#/$defs/Eval"},{"$ref":"#/$defs/ComponentReference"}]},"ComponentOrReference_for_Model":{"anyOf":[{"$ref":"#/$defs/Model"},{"$ref":"#/$defs/ComponentReference"}]},"ComponentOrReference_for_Tool":{"anyOf":[{"$ref":"#/$defs/Tool"},{"$ref":"#/$defs/ComponentReference"}]},"ComponentOrReference_for_View":{"anyOf":[{"$ref":"#/$defs/View"},{"$ref":"#/$defs/ComponentReference"}]},"ComponentOrReference_for_Worker":{"anyOf":[{"$ref":"#/$defs/Worker"},{"$ref":"#/$defs/ComponentReference"}]},"ComponentReference":{"type":"object","properties":{"dependsOn":{"type":"array","items":{"type":"string"}},"ref":{"type":"string"}},"required":["ref"]},"CorsConfig":{"type":"object","properties":{"allowed_origins":{"type":"array","default":["*"],"items":{"type":"string"}},"enabled":{"type":"boolean","default":false}},"additionalProperties":false},"Dataset":{"type":"object","properties":{"description":{"type":["string","null"]},"acceleration":{"anyOf":[{"$ref":"#/$defs/Acceleration"},{"type":"null"}]},"columns":{"type":"array","items":{"$ref":"#/$defs/Column"}},"dependsOn":{"type":"array","items":{"type":"string"}},"embeddings":{"type":"array","items":{"$ref":"#/$defs/ColumnEmbeddingConfig"}},"from":{"type":"string"},"has_metadata_table":{"type":["boolean","null"]},"metadata":{"type":"object","additionalProperties":true},"metrics":{"anyOf":[{"$ref":"#/$defs/Metrics"},{"type":"null"}]},"mode":{"$ref":"#/$defs/Mode"},"name":{"type":"string"},"params":{"anyOf":[{"$ref":"#/$defs/Params"},{"type":"null"}]},"ready_state":{"$ref":"#/$defs/ReadyState"},"replication":{"anyOf":[{"$ref":"#/$defs/Replication"},{"type":"null"}]},"time_column":{"type":["string","null"]},"time_format":{"anyOf":[{"$ref":"#/$defs/TimeFormat"},{"type":"null"}]},"time_partition_column":{"type":["string","null"]},"time_partition_format":{"anyOf":[{"$ref":"#/$defs/TimeFormat"},{"type":"null"}]},"unsupported_type_action":{"anyOf":[{"$ref":"#/$defs/UnsupportedTypeAction"},{"type":"null"}]}},"additionalProperties":false,"required":["name"]},"EmbeddingChunkConfig":{"type":"object","properties":{"enabled":{"type":"boolean","default":false},"overlap_size":{"type":"integer","format":"uint","default":0,"minimum":0},"target_chunk_size":{"type":"integer","format":"uint","default":0,"minimum":0},"trim_whitespace":{"type":"boolean","default":false}}},"Embeddings":{"type":"object","properties":{"datasets":{"type":"array","items":{"type":"string"}},"dependsOn":{"type":"array","items":{"type":"string"}},"files":{"type":"array","items":{"$ref":"#/$defs/ModelFile"}},"from":{"type":"string"},"metrics":{"anyOf":[{"$ref":"#/$defs/Metrics"},{"type":"null"}]},"name":{"type":"string"},"params":{"type":"object","additionalProperties":{"type":"string"}}},"required":["from","name"]},"Eval":{"type":"object","properties":{"description":{"type":["string","null"]},"dataset":{"type":"string"},"dependsOn":{"type":"array","items":{"type":"string"}},"metrics":{"anyOf":[{"$ref":"#/$defs/Metrics"},{"type":"null"}]},"name":{"type":"string"},"scorers":{"type":"array","items":{"type":"string"}}},"required":["name","dataset","scorers"]},"Extension":{"type":"object","properties":{"enabled":{"type":"boolean","default":true},"params":{"type":"object","additionalProperties":{"type":"string"}}}},"Flight":{"type":"object","properties":{"max_message_size":{"type":["string","null"]}}},"FullTextSearchConfig":{"type":"object","properties":{"enabled":{"type":"boolean"},"row_id":{"type":["array","null"],"items":{"type":"string"}}},"required":["enabled"]},"HashingAlgorithm":{"type":"string","enum":["siphash","ahash"]},"IndexType":{"type":"string","enum":["enabled","unique"]},"LoadBalanceParams":{"type":"object","properties":{"routing":{"type":"array","items":{"$ref":"#/$defs/RouterConfig"}}}},"Management":{"type":"object","properties":{"api_key":{"type":"string"},"enabled":{"type":"boolean","default":true},"params":{"type":"object","additionalProperties":{"type":"string"}}},"required":["api_key"]},"Metric":{"type":"object","properties":{"enabled":{"type":"boolean","default":true},"name":{"type":"string"}},"required":["name"]},"Metrics":{"type":"object","properties":{"metrics":{"type":"array","items":{"$ref":"#/$defs/Metric"}}},"required":["metrics"]},"Mode":{"type":"string","enum":["read","read_write"]},"Mode2":{"type":"string","enum":["memory","file"]},"Model":{"type":"object","properties":{"description":{"type":["string","null"]},"datasets":{"type":"array","items":{"type":"string"}},"dependsOn":{"type":"array","items":{"type":"string"}},"files":{"type":"array","items":{"$ref":"#/$defs/ModelFile"}},"from":{"type":"string"},"metadata":{"type":"object","additionalProperties":true},"metrics":{"anyOf":[{"$ref":"#/$defs/Metrics"},{"type":"null"}]},"name":{"type":"string"},"params":{"type":"object","additionalProperties":true}},"required":["from","name"]},"ModelFile":{"type":"object","properties":{"type":{"description":"Should use [`Self::file_type`] to access.","anyOf":[{"$ref":"#/$defs/ModelFileType"},{"type":"null"}]},"name":{"type":["string","null"]},"params":{"type":["object","null"],"additionalProperties":{"type":"string"}},"path":{"type":"string"}},"required":["path"]},"ModelFileType":{"type":"string","enum":["weights","config","tokenizer","tokenizerConfig","generationConfig"]},"OnConflictBehavior":{"type":"string","enum":["drop","upsert"]},"ParamValue":{"anyOf":[{"type":"string"},{"type":"integer","format":"int64"},{"type":"number","format":"double"},{"type":"boolean"}]},"Params":{"type":"object","additionalProperties":{"$ref":"#/$defs/ParamValue"}},"ReadyState":{"description":"Controls when the dataset is marked ready for queries.","oneOf":[{"description":"The table is ready once the initial load completes.","type":"string","const":"on_load"},{"description":"The table is ready immediately on registration, with fallback to federated table for queries until the initial load completes.","type":"string","const":"on_registration"}]},"RefreshMode":{"type":"string","enum":["full","append","changes"]},"RefreshOnStartup":{"oneOf":[{"description":"Always start a new refresh when Spice starts.","type":"string","const":"always"},{"description":"Only start a refresh if an existing acceleration is not available.","type":"string","const":"auto"}]},"Replication":{"type":"object","properties":{"enabled":{"type":"boolean","default":false}}},"ResultsCache":{"type":"object","properties":{"cache_key_type":{"$ref":"#/$defs/CacheKeyType","default":"plan"},"cache_max_size":{"type":["string","null"]},"enabled":{"type":"boolean","default":true},"eviction_policy":{"type":["string","null"]},"hashing_algorithm":{"$ref":"#/$defs/HashingAlgorithm","default":"siphash"},"item_ttl":{"type":["string","null"]}}},"RouterConfig":{"anyOf":[{"type":"object","properties":{"from":{"type":"string"},"order":{"type":"integer","format":"uint32","minimum":0}},"required":["from","order"]},{"type":"object","properties":{"from":{"type":"string"},"weight":{"type":"integer","format":"uint32","minimum":0}},"required":["from","weight"]},{"type":"object","properties":{"from":{"type":"string"}},"required":["from"]}]},"Runtime":{"type":"object","properties":{"auth":{"anyOf":[{"$ref":"#/$defs/Auth"},{"type":"null"}]},"caching":{"$ref":"#/$defs/Caching"},"cors":{"$ref":"#/$defs/CorsConfig"},"dataset_load_parallelism":{"type":["integer","null"],"format":"uint","minimum":0},"flight":{"anyOf":[{"$ref":"#/$defs/Flight"},{"type":"null"}]},"memory_limit":{"description":"Specifies the runtime memory limit. When configured, will spill to disk\n for supported queries larger than memory.","type":["string","null"]},"params":{"type":"object","additionalProperties":{"type":"string"}},"results_cache":{"anyOf":[{"$ref":"#/$defs/ResultsCache"},{"type":"null"}]},"shutdown_timeout":{"description":"Configures how long the runtime waits for connections to be gracefully drained\n and components to shut down cleanly during runtime termination","type":["string","null"]},"task_history":{"$ref":"#/$defs/TaskHistory"},"telemetry":{"$ref":"#/$defs/TelemetryConfig"},"temp_directory":{"description":"Configures where the runtime will store temporary files needed for operations like\n spilling to disk for queries & accelerations that are larger than memory.","type":["string","null"]},"tls":{"description":"If set, the runtime will configure all endpoints to use TLS","anyOf":[{"$ref":"#/$defs/TlsConfig"},{"type":"null"}]},"tracing":{"anyOf":[{"$ref":"#/$defs/TracingConfig"},{"type":"null"}]}},"additionalProperties":false},"SQLResultsCacheConfig":{"type":"object","properties":{"cache_key_type":{"$ref":"#/$defs/CacheKeyType","default":"plan"},"enabled":{"type":"boolean","default":true},"eviction_policy":{"type":["string","null"]},"hashing_algorithm":{"$ref":"#/$defs/HashingAlgorithm","default":"siphash"},"item_ttl":{"type":["string","null"]},"max_size":{"type":["string","null"]}}},"Secret":{"description":"The secrets configuration for a Spicepod.\n\n Example:\n ```yaml\n secrets:\n   - from: env\n     name: env\n   - from: kubernetes:my_secret_name\n     name: k8s\n ```","type":"object","properties":{"description":{"type":["string","null"]},"from":{"type":"string"},"name":{"type":"string"},"params":{"anyOf":[{"$ref":"#/$defs/Params"},{"type":"null"}]}},"required":["from","name"]},"SpicepodKind":{"type":"string","enum":["Spicepod"]},"SpicepodVersion":{"type":"string","enum":["v1beta1","v1"]},"TaskHistory":{"type":"object","properties":{"captured_output":{"type":"string","default":"none"},"enabled":{"type":"boolean","default":true},"retention_check_interval":{"type":"string","default":"15m"},"retention_period":{"type":"string","default":"8h"}},"additionalProperties":false},"TelemetryConfig":{"type":"object","properties":{"properties":{"type":"object","additionalProperties":{"type":"string"},"default":{}},"enabled":{"type":"boolean","default":true},"user_agent_collection":{"$ref":"#/$defs/UserAgentCollection","default":"full"}},"additionalProperties":false},"TimeFormat":{"type":"string","enum":["timestamp","timestamptz","unix_seconds","unix_millis","ISO8601","date"]},"TlsConfig":{"type":"object","properties":{"certificate":{"description":"A PEM encoded certificate","type":["string","null"]},"certificate_file":{"description":"A filesystem path to a file containing the PEM encoded certificate","type":["string","null"]},"enabled":{"description":"If set, the runtime will configure all endpoints to use TLS","type":"boolean"},"key":{"description":"A PEM encoded private key","type":["string","null"]},"key_file":{"description":"A filesystem path to a file containing the PEM encoded private key","type":["string","null"]}},"additionalProperties":false,"required":["enabled"]},"Tool":{"type":"object","properties":{"description":{"type":["string","null"]},"dependsOn":{"type":"array","items":{"type":"string"}},"env":{"type":"object","additionalProperties":{"type":"string"}},"from":{"type":"string"},"metrics":{"anyOf":[{"$ref":"#/$defs/Metrics"},{"type":"null"}]},"name":{"type":"string"},"params":{"type":"object","additionalProperties":{"type":"string"}}},"required":["from","name"]},"TracingConfig":{"type":"object","properties":{"zipkin_enabled":{"type":"boolean"},"zipkin_endpoint":{"type":["string","null"]}},"additionalProperties":false,"required":["zipkin_enabled"]},"UnsupportedTypeAction":{"type":"string","enum":["error","warn","ignore","string"]},"UserAgentCollection":{"type":"string","enum":["full","disabled"]},"View":{"type":"object","properties":{"description":{"type":["string","null"]},"acceleration":{"anyOf":[{"$ref":"#/$defs/Acceleration"},{"type":"null"}]},"columns":{"type":"array","items":{"$ref":"#/$defs/Column"}},"dependsOn":{"type":"array","items":{"type":"string"}},"metadata":{"type":"object","additionalProperties":true},"name":{"type":"string"},"ready_state":{"$ref":"#/$defs/ReadyState"},"sql":{"description":"Inline SQL that describes a view.","type":["string","null"]},"sql_ref":{"description":"Reference to a SQL file that describes a view.","type":["string","null"]}},"required":["name"]},"Worker":{"type":"object","properties":{"description":{"type":["string","null"]},"cron":{"type":["string","null"]},"load_balance":{"anyOf":[{"$ref":"#/$defs/LoadBalanceParams"},{"type":"null"}]},"name":{"type":"string"},"params":{"type":"object","additionalProperties":true},"sql":{"type":["string","null"]}},"required":["name"]},"ZeroResultsAction":{"description":"Behavior when a query on an accelerated table returns zero results.","oneOf":[{"description":"Return an empty result set. This is the default.","type":"string","const":"return_empty"},{"description":"Fallback to querying the source table.","type":"string","const":"use_source"}]}}}
</schema>

[User] Provide a JSON object that satisfies the schema "Spicepod Definition". Here are the required top‑level fields: name, version, kind. Return only the valid JSON object.

Spicepod Definition

A Spicepod definition is a YAML file that describes a Spicepod.

Optional extensions configuration

The kind of Spicepod

Optional management configuration

The name of the Spicepod

Optional runtime configuration

Optional spicepod secrets configuration
 Default value is:
 ```yaml
 secrets:
   - from: env
     name: env
 ```

The version of the Spicepod

Optional semantic details about the column

Configuration for if and how a dataset's column should be embedded.

 Prefer to use [`super::dataset::column::ColumnLevelEmbeddingConfig`] going
 forward. Support for [`ColumnEmbeddingConfig`] will be removed in future.

Configuration for if and how a dataset's column should be embedded.
 Different to [`crate::component::embeddings::ColumnEmbeddingConfig`],
 as [`ColumnLevelEmbeddingConfig`] should be a property of [`Column`],
 not [`super::Dataset`].

 [`crate::component::embeddings::ColumnEmbeddingConfig`] will be
 deprecated long term in favour of [`ColumnLevelEmbeddingConfig`].

Should use [`Self::file_type`] to access.

weights config tokenizer tokenizerConfig generationConfig

Controls when the dataset is marked ready for queries.

The table is ready once the initial load completes.

The table is ready immediately on registration, with fallback to federated table for queries until the initial load completes.

Always start a new refresh when Spice starts.

Only start a refresh if an existing acceleration is not available.

Specifies the runtime memory limit. When configured, will spill to disk
 for supported queries larger than memory.

Configures how long the runtime waits for connections to be gracefully drained
 and components to shut down cleanly during runtime termination

Configures where the runtime will store temporary files needed for operations like
 spilling to disk for queries & accelerations that are larger than memory.

If set, the runtime will configure all endpoints to use TLS

The secrets configuration for a Spicepod.

 Example:
 ```yaml
 secrets:
   - from: env
     name: env
   - from: kubernetes:my_secret_name
     name: k8s
 ```

A PEM encoded certificate

A filesystem path to a file containing the PEM encoded certificate

A PEM encoded private key

A filesystem path to a file containing the PEM encoded private key

Inline SQL that describes a view.

Reference to a SQL file that describes a view.

Behavior when a query on an accelerated table returns zero results.

Return an empty result set. This is the default.

Fallback to querying the source table.

Provide a JSON object that satisfies the schema "Spicepod Definition". Here are the required top‑level fields: name, version, kind. Return only the valid JSON object.


[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://json.schemastore.org/sponge-mixins.json","definitions":{"mixin_class":{"type":"string","description":"The dot-separated path to the mixin class relative to the specified package. The class must be annotated with @Mixin"},"injector_options":{"type":"object","description":"Injection options","properties":{"defaultRequire":{"type":"integer","minimum":0,"description":"Sets the default minimum of injections that must be successfully applied per injector","default":0},"defaultGroup":{"type":"string","description":"Sets the default injector group","default":"default"},"injectionPoints":{"type":"array","description":"Registers injection points for this configuration","items":{"type":"string"}},"maxShiftBy":{"type":"integer","minimum":0,"maximum":5,"default":5,"description":"Sets the maximum allowed number of opcodes that can be shifted in @At annotations. This is hard capped at 5"}}},"overwrite_options":{"type":"object","description":"Overwrite options","properties":{"conformVisibility":{"type":"boolean","description":"Sets whether the visibility of overwritten methods should be conformed to the target class"},"requireAnnotations":{"type":"boolean","default":true,"description":"Sets whether overwriting methods must explicitly be declared through @Overwrite annotations"}}}},"properties":{"parent":{"type":"string","description":"The name of a parent configuration that options get inherited from"},"target":{"type":"string","description":"Target selector. Either the specifies the phase directly or use \"@env(PHASE)\" separated by '&', '\\', or ' '"},"minVersion":{"type":"string","pattern":"^(\\d{1,5})(?:\\.(\\d{1,5})(?:\\.(\\d{1,5})(?:\\.(\\d{1,5}))?)?)?(-[a-zA-Z0-9_\\-]+)?$","description":"Minimum version of the mixin subsystem required for this configuration"},"compatibilityLevel":{"type":"string","description":"Minimum compatibility level required for mixins in this set"},"required":{"type":"boolean","description":"Determines whether mixin failures in this configuration are considered terminal and stop the game"},"priority":{"type":"integer","description":"The priority of this configuration. Will be inherited if smaller than 0","default":-1},"mixinPriority":{"type":"integer","description":"Default mixin priority for this configuration. Will be inherited if smaller than 0","default":-1},"package":{"type":"string","description":"The target package where the mixin classes reside"},"mixins":{"type":"array","description":"Mixin classes to load in all environments. Class names get prepended with the specified package","items":{"$ref":"#/definitions/mixin_class"}},"client":{"type":"array","description":"Mixin classes to load ONLY on client. Class names get prepended with the specified package","items":{"$ref":"#/definitions/mixin_class"}},"server":{"type":"array","description":"Mixin classes to load ONLY on server. Class names get prepended with the specified package","items":{"$ref":"#/definitions/mixin_class"}},"setSourceFile":{"type":"boolean","description":"Sets whether targets' source files will be updated to the mixin source file"},"refmap":{"type":"string","description":"The path to the reference map resource to use for this configuration"},"verbose":{"type":"boolean","description":"Increases log detail level from DEBUG to INFO","default":false},"plugin":{"type":"string","description":"Name of the mixin config plugin to use for this config"},"injectors":{"$ref":"#/definitions/injector_options"},"overwrites":{"$ref":"#/definitions/overwrite_options"}},"required":["package"],"type":"object"}
</schema>

[User] Provide a JSON object that satisfies the schema "sponge-mixins". Here are the required top‑level fields: package. Return only the valid JSON object.

The dot-separated path to the mixin class relative to the specified package. The class must be annotated with @Mixin

Injection options

Sets the default minimum of injections that must be successfully applied per injector

Sets the default injector group

Registers injection points for this configuration

Sets the maximum allowed number of opcodes that can be shifted in @At annotations. This is hard capped at 5

Overwrite options

Sets whether the visibility of overwritten methods should be conformed to the target class

Sets whether overwriting methods must explicitly be declared through @Overwrite annotations

The name of a parent configuration that options get inherited from

Target selector. Either the specifies the phase directly or use "@env(PHASE)" separated by '&', '\', or ' '

Minimum version of the mixin subsystem required for this configuration

Minimum compatibility level required for mixins in this set

Determines whether mixin failures in this configuration are considered terminal and stop the game

The priority of this configuration. Will be inherited if smaller than 0

Default mixin priority for this configuration. Will be inherited if smaller than 0

The target package where the mixin classes reside

Mixin classes to load in all environments. Class names get prepended with the specified package

Mixin classes to load ONLY on client. Class names get prepended with the specified package

Mixin classes to load ONLY on server. Class names get prepended with the specified package

Sets whether targets' source files will be updated to the mixin source file

The path to the reference map resource to use for this configuration

Increases log detail level from DEBUG to INFO

Name of the mixin config plugin to use for this config

Provide a JSON object that satisfies the schema "sponge-mixins". Here are the required top‑level fields: package. Return only the valid JSON object.


[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"$schema":"http://json-schema.org/draft-04/schema#","description":"Schema for image sprite generation files","id":"https://json.schemastore.org/sprite.json","properties":{"customstyles":{"description":"Define custom CSS declarations to inject into the generated stylesheet.","type":"object","additionalProperties":{"description":"A custom CSS declaration (property: value).","type":["string","number"]}},"dpi":{"description":"The image resolution of the generated image sprite","type":"integer","default":96},"images":{"description":"An array of file paths relative to this document. The name must be unique.","type":"object","additionalProperties":{"description":"A source image for the sprite.","type":"string"}},"optimize":{"description":"Optimizes the generated image either lossy or lossless. Requires the \"Image Optimizer\" extension for Visual Studio","enum":["lossless","lossy","none"],"default":"lossless"},"orientation":{"description":"The orientation of the individual images inside the generated sprite.","enum":["horizontal","vertical"],"default":"vertical"},"output":{"description":"Output format of the generated image sprite.","enum":["png","jpg","gif"],"default":"png"},"padding":{"description":"The padding around each individual image in the sprite. The value is in pixels.","type":"integer","default":10},"pathprefix":{"description":"Add any path root in front of the generated. Example: \"/images/\"","type":"string","default":""},"stylesheet":{"description":"Define stylesheets (css, less, sass) to be generated as part of the sprite generation process.","enum":["none","css","less","scss","styl"],"default":"none"}},"required":["images"],"type":"object"}
</schema>

[User] Provide a JSON object that satisfies the schema "sprite". Here are the required top‑level fields: images. Return only the valid JSON object.

Schema for image sprite generation files

Define custom CSS declarations to inject into the generated stylesheet.

A custom CSS declaration (property: value).

The image resolution of the generated image sprite

An array of file paths relative to this document. The name must be unique.

A source image for the sprite.

Optimizes the generated image either lossy or lossless. Requires the "Image Optimizer" extension for Visual Studio

The orientation of the individual images inside the generated sprite.

Output format of the generated image sprite.

The padding around each individual image in the sprite. The value is in pixels.

Add any path root in front of the generated. Example: "/images/"

Define stylesheets (css, less, sass) to be generated as part of the sprite generation process.

Provide a JSON object that satisfies the schema "sprite". Here are the required top‑level fields: images. Return only the valid JSON object.


[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://json.schemastore.org/sqlc-2.0.json","properties":{"version":{"const":"2"},"project":{"type":"object","properties":{"id":{"type":"string"}}},"cloud":{"type":"object","properties":{"organization":{"type":"string"},"project":{"type":"string"},"hostname":{"type":"string"}}},"sql":{"type":"array","minItems":1,"items":{"type":"object","required":["engine"],"properties":{"engine":{"description":"One of postgresql, mysql or sqlite.","enum":["postgresql","mysql","sqlite"]},"rules":{"description":"A collection of rule names to run via sqlc vet. See rules for configuration options.","type":"array","items":{"type":"string"}},"codegen":{"description":"A collection of mappings to configure code generators. See codegen for the supported keys.","type":"array","items":{"type":"object","properties":{"out":{"description":"Output directory for generated code.","type":"string"},"plugin":{"description":"The name of the plugin. Must be defined in the plugins collection.","type":"string"},"options":{"description":"A mapping of plugin-specific options.","type":"object"}}}},"schema":{"description":"Directory of SQL migrations or path to single SQL file; or a list of paths.","oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"queries":{"description":"Directory of SQL queries or path to single SQL file; or a list of paths.","oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"database":{"description":"A mapping to configure database connections. See database for the supported keys.\n\n","type":"object","properties":{"uri":{"description":"Database connection URI","type":"string"}}},"strict_function_checks":{"description":"If true, return an error if a called SQL function does not exist. Defaults to false.","type":"boolean","default":false},"strict_order_by":{"type":"boolean"},"gen":{"description":"A mapping to configure built-in code generators. See gen for the supported keys.","type":"object","properties":{"json":{"type":"object","properties":{"out":{"description":"Output directory for the generated JSON.","type":"string"},"indent":{"description":"Indent string to use in the JSON document. Defaults to two spaces.","default":"  ","type":"string"},"filename":{"description":"Filename for the generated JSON document. Defaults to codegen_request.json.","default":"codegen_request.json","type":"string"}}},"go":{"type":"object","properties":{"emit_interface":{"description":"If true, output a Querier interface in the generated package. Defaults to false.","default":false,"type":"boolean"},"emit_json_tags":{"type":"boolean","description":"If true, add JSON tags to generated structs. Defaults to false.","default":false},"json_tags_id_uppercase":{"description":"If true, \u201cId\u201d in json tags will be uppercase. If false, will be camelcase. Defaults to false","default":false,"type":"boolean"},"emit_db_tags":{"description":"If true, add DB tags to generated structs. Defaults to false.","default":false,"type":"boolean"},"emit_prepared_queries":{"description":"If true, include support for prepared queries. Defaults to false.","default":false,"type":"boolean"},"emit_exact_table_names":{"type":"boolean","description":"If true, struct names will mirror table names. Otherwise, sqlc attempts to singularize plural table names. Defaults to false.","default":false},"emit_empty_slices":{"description":"If true, slices returned by :many queries will be empty instead of nil. Defaults to false.","default":false,"type":"boolean"},"emit_exported_queries":{"description":"If true, autogenerated SQL statement can be exported to be accessed by another package.","type":"boolean"},"emit_result_struct_pointers":{"description":"If true, query results are returned as pointers to structs. Queries returning multiple results are returned as slices of pointers. Defaults to false.","default":false,"type":"boolean"},"emit_params_struct_pointers":{"description":"If true, parameters are passed as pointers to structs. Defaults to false.","default":false,"type":"boolean"},"emit_methods_with_db_argument":{"description":"If true, generated methods will accept a DBTX argument instead of storing a DBTX on the *Queries struct. Defaults to false.","type":"boolean","default":false},"emit_pointers_for_null_types":{"type":"boolean"},"emit_enum_valid_method":{"description":"If true, generate a Valid method on enum types, indicating whether a string is a valid enum value.","type":"boolean"},"emit_all_enum_values":{"description":"If true, emit a function per enum type that returns all valid enum values.","type":"boolean"},"json_tags_case_style":{"type":"string","description":"camel for camelCase, pascal for PascalCase, snake for snake_case or none to use the column name in the DB. Defaults to none.","default":"none"},"package":{"description":"The package name to use for the generated code. Defaults to out basename.","type":"string"},"out":{"description":"Output directory for generated code.","type":"string"},"overrides":{"description":"https://docs.sqlc.dev/en/stable/reference/config.html#type-overriding","type":"array","items":{"type":"object","properties":{"go_type":{"description":"A fully qualified name to a Go type to use in the generated code.","oneOf":[{"type":"object","properties":{"import":{"description":"The import path for the package where the type is defined.","type":"string"},"package":{"description":"The package name where the type is defined. This should only be necessary when your import path doesn\u2019t end with the desired package name.","type":"string"},"type":{"description":"The type name itself, without any package prefix.","type":"string"},"pointer":{"description":"If set to true, generated code will use pointers to the type rather than the type itself.","type":"boolean"},"slice":{"description":"If set to true, generated code will use a slice of the type rather than the type itself.","type":"boolean"},"spec":{"type":"string"},"builtin":{"type":"boolean"}}},{"type":"string"}]},"go_struct_tag":{"description":"A reflect-style struct tag to use in the generated code, e.g. a:\"b\" x:\"y,z\". If you want general json/db tags for all fields, use emit_db_tags and/or emit_json_tags instead.","type":"string"},"db_type":{"description":"The PostgreSQL or MySQL type to override. Find the full list of supported types in postgresql_type.go or mysql_type.go. Note that for Postgres you must use the pg_catalog prefixed names where available. Can\u2019t be used if the column key is defined.","type":"string"},"engine":{"enum":["postgresql","mysql","sqlite"]},"nullable":{"description":"If true, use this type when a column is nullable. Defaults to false.","default":false,"type":"boolean"},"unsigned":{"type":"boolean"},"column":{"description":"In case the type overriding should be done on specific a column of a table instead of a type. column should be of the form table.column but you can be even more specific by specifying schema.table.column or catalog.schema.table.column. Can\u2019t be used if the db_type key is defined.","type":"string"}}}},"rename":{"description":"https://docs.sqlc.dev/en/stable/reference/config.html#renaming-fields","type":"object","patternProperties":{".*":{"type":"string"}}},"sql_package":{"description":"Either pgx/v4, pgx/v5 or database/sql. Defaults to database/sql.","type":"string"},"sql_driver":{"type":"string"},"output_batch_file_name":{"description":"Customize the name of the batch file. Defaults to batch.go.","default":"batch.go","type":"string"},"output_db_file_name":{"description":"Customize the name of the db file. Defaults to db.go.","default":"db.go","type":"string"},"output_models_file_name":{"description":"Customize the name of the models file. Defaults to models.go.","default":"models.go","type":"string"},"output_querier_file_name":{"description":"Customize the name of the querier file. Defaults to querier.go.","default":"querier.go","type":"string"},"output_files_suffix":{"type":"string","description":"If specified the suffix will be added to the name of the generated files."},"inflection_exclude_table_names":{"type":"array","items":{"type":"string"}},"query_parameter_limit":{"type":"integer","description":"The number of positional arguments that will be generated for Go functions. To always emit a parameter struct, set this to 0. Defaults to 1.","default":1},"omit_unused_structs":{"type":"boolean","description":"If true, sqlc won\u2019t generate table and enum structs that aren\u2019t used in queries for a given package. Defaults to false.","default":false}}}}}}}},"overrides":{"description":"https://docs.sqlc.dev/en/latest/reference/config.html#global-overrides","type":"object","properties":{"go":{"type":"object","properties":{"overrides":{"type":"array","items":{"type":"object","properties":{"go_type":{"oneOf":[{"type":"object","properties":{"import":{"type":"string"},"package":{"type":"string"},"type":{"type":"string"},"pointer":{"type":"boolean"},"slice":{"type":"boolean"},"spec":{"type":"string"},"builtin":{"type":"boolean"}}},{"type":"string"}]},"go_struct_tag":{"type":"string"},"db_type":{"type":"string"},"engine":{"enum":["postgresql","mysql","sqlite"]},"nullable":{"type":"boolean"},"unsigned":{"type":"boolean"},"column":{"type":"string"}}}},"rename":{"type":"object","patternProperties":{".*":{"type":"string"}}}}}}},"plugins":{"type":"array","items":{"type":"object","required":["name"],"properties":{"name":{"description":"The name of this plugin.","type":"string","minLength":1},"env":{"type":"array","items":{"type":"string"}},"process":{"type":"object","properties":{"cmd":{"description":"The executable to call when using this plugin","type":"string"}}},"wasm":{"type":"object","description":"wasm: A mapping with a two keys url and sha256","properties":{"url":{"description":"The URL to fetch the WASM file. Supports the https:// or file:// schemes.","type":"string"},"sha256":{"description":"The SHA256 checksum for the downloaded file.","type":"string"}}}}}},"rules":{"type":"array","items":{"type":"object","properties":{"name":{"description":"The name of this rule. (Required)","type":"string"},"rule":{"description":"A Common Expression Language (CEL) expression. Required.","type":"string"},"message":{"description":"An optional message shown when this rule evaluates to true.","type":"string"}}}}},"required":["version"],"type":"object"}
</schema>

[User] Provide a JSON object that satisfies the schema "sqlc-2.0". Here are the required top‑level fields: version. Return only the valid JSON object.

One of postgresql, mysql or sqlite.

A collection of rule names to run via sqlc vet. See rules for configuration options.

A collection of mappings to configure code generators. See codegen for the supported keys.

Output directory for generated code.

The name of the plugin. Must be defined in the plugins collection.

A mapping of plugin-specific options.

Directory of SQL migrations or path to single SQL file; or a list of paths.

Directory of SQL queries or path to single SQL file; or a list of paths.

A mapping to configure database connections. See database for the supported keys.

Database connection URI

If true, return an error if a called SQL function does not exist. Defaults to false.

A mapping to configure built-in code generators. See gen for the supported keys.

Output directory for the generated JSON.

Indent string to use in the JSON document. Defaults to two spaces.

Filename for the generated JSON document. Defaults to codegen_request.json.

If true, output a Querier interface in the generated package. Defaults to false.

If true, add JSON tags to generated structs. Defaults to false.

If true, “Id” in json tags will be uppercase. If false, will be camelcase. Defaults to false

If true, add DB tags to generated structs. Defaults to false.

If true, include support for prepared queries. Defaults to false.

If true, struct names will mirror table names. Otherwise, sqlc attempts to singularize plural table names. Defaults to false.

If true, slices returned by :many queries will be empty instead of nil. Defaults to false.

If true, autogenerated SQL statement can be exported to be accessed by another package.

If true, query results are returned as pointers to structs. Queries returning multiple results are returned as slices of pointers. Defaults to false.

If true, parameters are passed as pointers to structs. Defaults to false.

If true, generated methods will accept a DBTX argument instead of storing a DBTX on the *Queries struct. Defaults to false.

If true, generate a Valid method on enum types, indicating whether a string is a valid enum value.

If true, emit a function per enum type that returns all valid enum values.

camel for camelCase, pascal for PascalCase, snake for snake_case or none to use the column name in the DB. Defaults to none.

The package name to use for the generated code. Defaults to out basename.

Output directory for generated code.

A fully qualified name to a Go type to use in the generated code.

The import path for the package where the type is defined.

The package name where the type is defined. This should only be necessary when your import path doesn’t end with the desired package name.

The type name itself, without any package prefix.

If set to true, generated code will use pointers to the type rather than the type itself.

If set to true, generated code will use a slice of the type rather than the type itself.

A reflect-style struct tag to use in the generated code, e.g. a:"b" x:"y,z". If you want general json/db tags for all fields, use emit_db_tags and/or emit_json_tags instead.

The PostgreSQL or MySQL type to override. Find the full list of supported types in postgresql_type.go or mysql_type.go. Note that for Postgres you must use the pg_catalog prefixed names where available. Can’t be used if the column key is defined.

If true, use this type when a column is nullable. Defaults to false.

In case the type overriding should be done on specific a column of a table instead of a type. column should be of the form table.column but you can be even more specific by specifying schema.table.column or catalog.schema.table.column. Can’t be used if the db_type key is defined.

Either pgx/v4, pgx/v5 or database/sql. Defaults to database/sql.

Customize the name of the batch file. Defaults to batch.go.

Customize the name of the db file. Defaults to db.go.

Customize the name of the models file. Defaults to models.go.

Customize the name of the querier file. Defaults to querier.go.

If specified the suffix will be added to the name of the generated files.

The number of positional arguments that will be generated for Go functions. To always emit a parameter struct, set this to 0. Defaults to 1.

If true, sqlc won’t generate table and enum structs that aren’t used in queries for a given package. Defaults to false.

The name of this plugin.

The executable to call when using this plugin

wasm: A mapping with a two keys url and sha256

The URL to fetch the WASM file. Supports the https:// or file:// schemes.

The SHA256 checksum for the downloaded file.

The name of this rule. (Required)

A Common Expression Language (CEL) expression. Required.

An optional message shown when this rule evaluates to true.

Provide a JSON object that satisfies the schema "sqlc-2.0". Here are the required top‑level fields: version. Return only the valid JSON object.


[User] Provide a JSON object that satisfies the schema "squid_manifest". Here are the required top‑level fields: deploy. Return only the valid JSON object.

[DEPRECATED] Please use "deploy.init" instead

[DEPRECATED] Please use secrets context https://docs.subsquid.io/cloud/resources/env-variables/#secrets

[DEPRECATED] Please use billing settings in Cloud UI

[DEPRECATED] Please use "manifest_version" instead.

Provide a JSON object that satisfies the schema "squid_manifest". Here are the required top‑level fields: deploy. Return only the valid JSON object.


[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"$schema":"http://json-schema.org/draft-07/schema#","title":"AgentConfig","description":"Defines *user* configuration for the SSH agent, and allows the user to configure which accounts, vaults, and items should be considered for use by the SSH agent.","type":"object","required":["ssh-keys"],"properties":{"ssh-keys":{"description":"The list of rules to decide which accounts, vaults, and items to add to the SSH agent.","type":"array","items":{"$ref":"#/definitions/AgentConfigRule"}}},"definitions":{"AgentConfigRule":{"description":"A single rule defined in the SSH agent config for which keys to include in the SSH agent. Each field may be the UUID or another identifier, which varies per field.","type":"object","anyOf":[{"required":["account"]},{"required":["item"]},{"required":["vault"]}],"properties":{"account":{"description":"Can be either an account UUID or signin address or account name","type":"string"},"item":{"description":"Can be either an item UUID or name","type":"string"},"vault":{"description":"Can be either a vault UUID or name","type":"string"}},"additionalProperties":false}}}
</schema>

[User] Provide a JSON object that satisfies the schema "AgentConfig". Here are the required top‑level fields: ssh-keys. Return only the valid JSON object.

AgentConfig

Defines *user* configuration for the SSH agent, and allows the user to configure which accounts, vaults, and items should be considered for use by the SSH agent.

The list of rules to decide which accounts, vaults, and items to add to the SSH agent.

A single rule defined in the SSH agent config for which keys to include in the SSH agent. Each field may be the UUID or another identifier, which varies per field.

Can be either an account UUID or signin address or account name

Can be either an item UUID or name

Can be either a vault UUID or name

Provide a JSON object that satisfies the schema "AgentConfig". Here are the required top‑level fields: ssh-keys. Return only the valid JSON object.


[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://json.schemastore.org/stackblitzrc.json","additionalProperties":false,"description":"https://developer.stackblitz.com/docs/platform/project-config/","properties":{"installDependencies":{"title":"Install npm dependencies when opening the project.","description":"Defaults to true. Set to false to disable.","default":true,"type":"boolean"},"startCommand":{"title":"Execute a custom command when opening the project.","description":"If not provided, a command may be inferred based on the project files (e.g. running `npm start`).","default":true,"anyOf":[{"type":"boolean"},{"type":"string"}]},"env":{"title":"Expose environment variables to the terminal.","type":"object","propertyNames":{"pattern":"^[a-zA-Z_]+[a-zA-Z0-9_]*$"},"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"type":"number"}]}}},"title":"WebContainer project configuration","type":"object"}
</schema>

[User] Provide a JSON object that satisfies the schema "WebContainer project configuration". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.

Install npm dependencies when opening the project.

Defaults to true. Set to false to disable.

Execute a custom command when opening the project.

If not provided, a command may be inferred based on the project files (e.g. running `npm start`).

Expose environment variables to the terminal.

WebContainer project configuration

Provide a JSON object that satisfies the schema "WebContainer project configuration". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.