Skip to content

Commit 8900e07

Browse files
[vendor-schemas] automated update (#578)
Co-authored-by: sirosen <[email protected]>
1 parent be5c5fb commit 8900e07

File tree

7 files changed

+892
-32
lines changed

7 files changed

+892
-32
lines changed

CHANGELOG.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ Unreleased
1010

1111
.. vendor-insert-here
1212
13+
- Update vendored schemas: compose-spec, meltano, renovate (2025-07-06)
14+
1315
0.33.2
1416
------
1517

src/check_jsonschema/builtin_schemas/vendor/compose-spec.json

Lines changed: 67 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,17 @@
3636
"description": "The services that will be used by your application."
3737
},
3838

39+
"models": {
40+
"type": "object",
41+
"patternProperties": {
42+
"^[a-zA-Z0-9._-]+$": {
43+
"$ref": "#/definitions/model"
44+
}
45+
},
46+
"description": "Language models that will be used by your application."
47+
},
48+
49+
3950
"networks": {
4051
"type": "object",
4152
"patternProperties": {
@@ -392,6 +403,7 @@
392403
"provider": {
393404
"type": "object",
394405
"description": "Specify a service which will not be manage by Compose directly, and delegate its management to an external provider.",
406+
"required": ["type"],
395407
"properties": {
396408
"type": {
397409
"type": "string",
@@ -401,7 +413,10 @@
401413
"type": "object",
402414
"description": "Provider-specific options.",
403415
"patternProperties": {
404-
"^.+$": {"type": ["string", "number", "null"]}
416+
"^.+$": {"oneOf": [
417+
{ "type": ["string", "number", "boolean"] },
418+
{ "type": "array", "items": {"type": ["string", "number", "boolean"]}}
419+
]}
405420
}
406421
}
407422
},
@@ -507,6 +522,27 @@
507522
"type": "string",
508523
"description": "Network mode. Values can be 'bridge', 'host', 'none', 'service:[service name]', or 'container:[container name]'."
509524
},
525+
"models": {
526+
"oneOf": [
527+
{"$ref": "#/definitions/list_of_strings"},
528+
{"type": "object",
529+
"patternProperties": {
530+
"^[a-zA-Z0-9._-]+$": {
531+
"type": "object",
532+
"properties": {
533+
"endpoint_var": {
534+
"type": "string",
535+
"description": "Environment variable set to AI model endpoint."
536+
}
537+
},
538+
"additionalProperties": false,
539+
"patternProperties": {"^x-": {}}
540+
}
541+
}
542+
}
543+
],
544+
"description": "AI Models to use, referencing entries under the top-level models key."
545+
},
510546
"networks": {
511547
"oneOf": [
512548
{"$ref": "#/definitions/list_of_strings"},
@@ -728,6 +764,10 @@
728764
"$ref": "#/definitions/ulimits",
729765
"description": "Override the default ulimits for a container."
730766
},
767+
"use_api_socket": {
768+
"type": "boolean",
769+
"description": "Bind mount Docker API socket and required auth."
770+
},
731771
"user": {
732772
"type": "string",
733773
"description": "Username or UID to run the container process as."
@@ -1522,6 +1562,32 @@
15221562
"patternProperties": {"^x-": {}}
15231563
},
15241564

1565+
"model": {
1566+
"type": "object",
1567+
"description": "Language Model for the Compose application.",
1568+
"properties": {
1569+
"name": {
1570+
"type": "string",
1571+
"description": "Custom name for this model."
1572+
},
1573+
"model": {
1574+
"type": "string",
1575+
"description": "Language Model to run."
1576+
},
1577+
"context_size": {
1578+
"type": "integer"
1579+
},
1580+
"runtime_flags": {
1581+
"type": "array",
1582+
"items": {"type": "string"},
1583+
"description": "Raw runtime flags to pass to the inference engine."
1584+
}
1585+
},
1586+
"required": ["model"],
1587+
"additionalProperties": false,
1588+
"patternProperties": {"^x-": {}}
1589+
},
1590+
15251591
"command": {
15261592
"oneOf": [
15271593
{

src/check_jsonschema/builtin_schemas/vendor/meltano.json

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,12 @@
3232
},
3333
"python": {
3434
"type": "string",
35-
"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.",
35+
"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.",
3636
"examples": [
3737
"/usr/bin/python3.10",
3838
"python",
39-
"python3.11"
39+
"python3.11",
40+
"3.11"
4041
]
4142
},
4243
"state_backend": {
@@ -404,11 +405,12 @@
404405
},
405406
"python": {
406407
"type": "string",
407-
"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).",
408+
"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).",
408409
"examples": [
409410
"/usr/bin/python3.10",
410411
"python",
411-
"python3.11"
412+
"python3.11",
413+
"3.11"
412414
]
413415
},
414416
"executable": {
@@ -518,19 +520,7 @@
518520
}
519521
},
520522
"env": {
521-
"type": "object",
522-
"description": "Mapping to environment variable to set inside the container. These take precedence over Meltano own runtime environment variables.",
523-
"propertyNames": {
524-
"type": "string"
525-
},
526-
"additionalProperties": {
527-
"type": "string"
528-
},
529-
"examples": [
530-
{
531-
"DBT_PROFILES_DIR": "/usr/app/profile/"
532-
}
533-
]
523+
"$ref": "#/$defs/env"
534524
}
535525
}
536526
}
@@ -874,7 +864,7 @@
874864
},
875865
"env": {
876866
"type": "string",
877-
"description": "An alternative environment variable name to populate with this settings value in the plugin environment.",
867+
"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.).",
878868
"examples": [
879869
"GITLAB_API_TOKEN",
880870
"FACEBOOK_ADS_ACCESS_TOKEN"
@@ -1231,6 +1221,7 @@
12311221
},
12321222
"examples": [
12331223
{
1224+
"DBT_PROFILES_DIR": "/usr/app/profile/",
12341225
"SNOWFLAKE_ACCOUNT": "my.snowflake.account.com"
12351226
}
12361227
]

0 commit comments

Comments
 (0)