Skip to content

Update vendored schemas #578

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ Unreleased

.. vendor-insert-here

- Update vendored schemas: compose-spec, meltano, renovate (2025-07-06)

0.33.2
------

Expand Down
68 changes: 67 additions & 1 deletion src/check_jsonschema/builtin_schemas/vendor/compose-spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,17 @@
"description": "The services that will be used by your application."
},

"models": {
"type": "object",
"patternProperties": {
"^[a-zA-Z0-9._-]+$": {
"$ref": "#/definitions/model"
}
},
"description": "Language models that will be used by your application."
},


"networks": {
"type": "object",
"patternProperties": {
Expand Down Expand Up @@ -392,6 +403,7 @@
"provider": {
"type": "object",
"description": "Specify a service which will not be manage by Compose directly, and delegate its management to an external provider.",
"required": ["type"],
"properties": {
"type": {
"type": "string",
Expand All @@ -401,7 +413,10 @@
"type": "object",
"description": "Provider-specific options.",
"patternProperties": {
"^.+$": {"type": ["string", "number", "null"]}
"^.+$": {"oneOf": [
{ "type": ["string", "number", "boolean"] },
{ "type": "array", "items": {"type": ["string", "number", "boolean"]}}
]}
}
}
},
Expand Down Expand Up @@ -507,6 +522,27 @@
"type": "string",
"description": "Network mode. Values can be 'bridge', 'host', 'none', 'service:[service name]', or 'container:[container name]'."
},
"models": {
"oneOf": [
{"$ref": "#/definitions/list_of_strings"},
{"type": "object",
"patternProperties": {
"^[a-zA-Z0-9._-]+$": {
"type": "object",
"properties": {
"endpoint_var": {
"type": "string",
"description": "Environment variable set to AI model endpoint."
}
},
"additionalProperties": false,
"patternProperties": {"^x-": {}}
}
}
}
],
"description": "AI Models to use, referencing entries under the top-level models key."
},
"networks": {
"oneOf": [
{"$ref": "#/definitions/list_of_strings"},
Expand Down Expand Up @@ -728,6 +764,10 @@
"$ref": "#/definitions/ulimits",
"description": "Override the default ulimits for a container."
},
"use_api_socket": {
"type": "boolean",
"description": "Bind mount Docker API socket and required auth."
},
"user": {
"type": "string",
"description": "Username or UID to run the container process as."
Expand Down Expand Up @@ -1522,6 +1562,32 @@
"patternProperties": {"^x-": {}}
},

"model": {
"type": "object",
"description": "Language Model for the Compose application.",
"properties": {
"name": {
"type": "string",
"description": "Custom name for this model."
},
"model": {
"type": "string",
"description": "Language Model to run."
},
"context_size": {
"type": "integer"
},
"runtime_flags": {
"type": "array",
"items": {"type": "string"},
"description": "Raw runtime flags to pass to the inference engine."
}
},
"required": ["model"],
"additionalProperties": false,
"patternProperties": {"^x-": {}}
},

"command": {
"oneOf": [
{
Expand Down
27 changes: 9 additions & 18 deletions src/check_jsonschema/builtin_schemas/vendor/meltano.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,12 @@
},
"python": {
"type": "string",
"description": "The python version to use for plugins, specified as a path, or as the name of an executable to find within a directory in $PATH. If not specified, the python executable that was used to run Meltano will be used (within a separate virtual environment). This can be overridden on a per-plugin basis by setting the `python` property for the plugin.",
"description": "The python version to use for plugins, specified as a path, as the name of an executable to find within a directory in $PATH, or as a version number (e.g. '3.11'). If not specified, the python executable that was used to run Meltano will be used (within a separate virtual environment). This can be overridden on a per-plugin basis by setting the `python` property for the plugin.",
"examples": [
"/usr/bin/python3.10",
"python",
"python3.11"
"python3.11",
"3.11"
]
},
"state_backend": {
Expand Down Expand Up @@ -404,11 +405,12 @@
},
"python": {
"type": "string",
"description": "The python version to use for this plugin, specified as a path, or as the name of an executable to find within a directory in $PATH. If not specified, the top-level `python` setting will be used, or if it is not set, the python executable that was used to run Meltano will be used (within a separate virtual environment).",
"description": "The python version to use for this plugin, specified as a path, as the name of an executable to find within a directory in $PATH, or as a version number (e.g. '3.11'). If not specified, the top-level `python` setting will be used, or if it is not set, the python executable that was used to run Meltano will be used (within a separate virtual environment).",
"examples": [
"/usr/bin/python3.10",
"python",
"python3.11"
"python3.11",
"3.11"
]
},
"executable": {
Expand Down Expand Up @@ -518,19 +520,7 @@
}
},
"env": {
"type": "object",
"description": "Mapping to environment variable to set inside the container. These take precedence over Meltano own runtime environment variables.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
},
"examples": [
{
"DBT_PROFILES_DIR": "/usr/app/profile/"
}
]
"$ref": "#/$defs/env"
}
}
}
Expand Down Expand Up @@ -874,7 +864,7 @@
},
"env": {
"type": "string",
"description": "An alternative environment variable name to populate with this settings value in the plugin environment.",
"description": "An alternative environment variable name to populate with this settings value in the plugin environment. Meltano takes the value of the setting and injects it into the plugin's runtime environment as this environment variable, in addition to the default environment variable (of the form `<PLUGIN_NAME>_<SETTING_NAME>`, etc.).",
"examples": [
"GITLAB_API_TOKEN",
"FACEBOOK_ADS_ACCESS_TOKEN"
Expand Down Expand Up @@ -1231,6 +1221,7 @@
},
"examples": [
{
"DBT_PROFILES_DIR": "/usr/app/profile/",
"SNOWFLAKE_ACCOUNT": "my.snowflake.account.com"
}
]
Expand Down
Loading