Skip to content
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
12 changes: 12 additions & 0 deletions src/api/json/catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -4553,6 +4553,12 @@
"fileMatch": ["fields.yaml", "*_fields.yaml"],
"url": "https://raw.githubusercontent.com/inetis-ch/october-schemas/master/fields.json"
},
{
"name": "ogen",
"description": "ogen code generator configuration, see https://ogen.dev/docs/config",
"fileMatch": ["ogen.yml", "ogen.yaml", ".ogen.yml", ".ogen.yaml"],
"url": "https://www.schemastore.org/ogen.json"
},
{
"name": "Oh My Posh",
"description": "Oh My Posh configuration file",
Expand Down Expand Up @@ -6562,6 +6568,12 @@
"fileMatch": ["tusk.yml", "tusk.yaml"],
"url": "https://raw.githubusercontent.com/rliebz/tusk/main/tusk.schema.json"
},
{
"name": "twee-ts",
"description": "twee-ts compiler configuration file",
"fileMatch": ["twee-ts.config.json"],
"url": "https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/twee-ts.config.json"
},
{
"name": "typewiz.json",
"description": "Typewiz configuration file",
Expand Down
3 changes: 2 additions & 1 deletion src/schema-validation.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"bxci.schema-2.x.json",
"catalog-info.json",
"chrome-manifest.json",
"chisel-slices.json",
"chutzpah.json",
"cloud-sdk-pipeline-config-schema.json",
"cloudify.json",
Expand Down Expand Up @@ -403,7 +404,7 @@
"gitversion.json",
"lazygit.json",
"circleciconfig.json",
"ogen.json",
"ogen.json", // uses external references
"openapi-3.X.json", // uses external references
"openapi-overlay-1.X.json", // uses external references
"openapi-arazzo-1.X.json" // uses external references
Expand Down
67 changes: 63 additions & 4 deletions src/schemas/json/chisel-slices.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,42 @@
"examples": ["ubuntu"]
},
"essential": {
"type": "array",
"type": ["array", "object"],
"description": "A list of slices that are a dependency for all slices of this package. Each slice item is formatted as '<slice_name>_<slice_part>'.",
"uniqueItems": true,
"items": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9+\\-\\._]+$"
},
"examples": ["slicename_copyright"]
"examples": [{ "slicename_copyright": {} }, { "slicename_licenses": {} }],
"patternProperties": {
"^.+$": {
"description": "The name of the dependency slice part.",
"type": "object",
"additionalProperties": false,
"properties": {
"arch": {
"type": "array",
"description": "Only include this dependency on specific architectures.",
"uniqueItems": true,
"examples": [["amd64", "arm64"]],
"items": {
"type": "string",
"examples": [
"amd64",
"i386",
"armhf",
"arm64",
"powerpc",
"ppc64el",
"s390x",
"riscv64"
]
}
}
}
}
}
},
"slices": {
"type": "object",
Expand All @@ -36,14 +64,45 @@
"additionalProperties": false,
"properties": {
"essential": {
"type": "array",
"type": ["array", "object"],
"description": "The name of the dependency slice part. The slice part is formatted as '<slice_name>_<slice_part>'.",
"uniqueItems": true,
"items": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9+\\-\\._]+$"
},
"examples": ["libgcc-s1_libs", "ca-certificates_data"]
"examples": [
{ "libgcc-s1_libs": {} },
{ "ca-certificates_data": {} }
],
"patternProperties": {
"^.+$": {
"description": "The name of the dependency slice part.",
"type": "object",
"additionalProperties": false,
"properties": {
"arch": {
"type": "array",
"description": "Only include this dependency on specific architectures.",
"uniqueItems": true,
"examples": [["amd64", "arm64"]],
"items": {
"type": "string",
"examples": [
"amd64",
"i386",
"armhf",
"arm64",
"powerpc",
"ppc64el",
"s390x",
"riscv64"
]
}
}
}
}
}
},
"mutate": {
"type": "string",
Expand Down
6 changes: 4 additions & 2 deletions src/schemas/json/ogen.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$ref": "https://raw.githubusercontent.com/ogen-go/ogen/refs/heads/main/examples/config/ogen.jsonschema.json",
"title": "ogen configuration"
"$id": "https://json.schemastore.org/ogen.json",
"$ref": "https://raw.githubusercontent.com/ogen-go/ogen/main/schemas/ogen.jsonschema.json",
"title": "Ogen Configuration Schema",
"description": "ogen code generator configuration. See https://ogen.dev/docs/config."
}
4 changes: 2 additions & 2 deletions src/schemas/json/partial-pytest.json
Original file line number Diff line number Diff line change
Expand Up @@ -1028,8 +1028,8 @@
"verbosity_assertions": {
"oneOf": [
{
"type": "integer",
"minimum": 0
"type": "string",
"pattern": "^[0-9]+$"
},
{
"type": "string",
Expand Down
2 changes: 1 addition & 1 deletion src/schemas/json/prometheus-alertmanager.json
Original file line number Diff line number Diff line change
Expand Up @@ -969,7 +969,7 @@
"type": "string",
"default": "{{ template \"rocketchat.default.title\" . }}"
},
"titleLink": {
"title_link": {
"type": "string",
"default": "{{ template \"rocketchat.default.titlelink\" . }}"
},
Expand Down
8 changes: 8 additions & 0 deletions src/schemas/json/staticwebapp.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,14 @@
"clientSecretSettingName": {
"type": "string",
"description": "The name of the application setting containing the client secret for the Azure AD app registration"
},
"clientSecretCertificateKeyVaultReference": {
"type": "string",
"description": "A Key Vault reference for the certificate used for certificate-based authentication"
},
"clientSecretCertificateThumbprint": {
"type": "string",
"description": "The thumbprint of the certificate used for certificate-based authentication"
}
},
"additionalProperties": false
Expand Down
45 changes: 45 additions & 0 deletions src/schemas/json/tox.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,21 @@
}
},
"additionalProperties": false
},
{
"type": "object",
"minProperties": 1,
"maxProperties": 1,
"not": {
"required": ["prefix"]
},
"additionalProperties": {
"type": "array",
"items": {
"type": "string"
}
},
"description": "labeled factor group for {factor:label} substitution"
}
]
},
Expand Down Expand Up @@ -157,6 +172,21 @@
}
},
"additionalProperties": false
},
{
"type": "object",
"minProperties": 1,
"maxProperties": 1,
"not": {
"required": ["prefix"]
},
"additionalProperties": {
"type": "array",
"items": {
"type": "string"
}
},
"description": "labeled factor group for {factor:label} substitution"
}
]
},
Expand Down Expand Up @@ -289,6 +319,21 @@
}
},
"additionalProperties": false
},
{
"type": "object",
"minProperties": 1,
"maxProperties": 1,
"not": {
"required": ["prefix"]
},
"additionalProperties": {
"type": "array",
"items": {
"type": "string"
}
},
"description": "labeled factor group for {factor:label} substitution"
}
]
},
Expand Down
110 changes: 110 additions & 0 deletions src/schemas/json/twee-ts.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://unpkg.com/@rohal12/twee-ts/schemas/twee-ts.config.schema.json",
"title": "twee-ts Configuration",
"description": "Configuration file for twee-ts, a TypeScript Twee-to-HTML compiler.",
"type": "object",
"additionalProperties": false,
"properties": {
"$schema": {
"type": "string",
"description": "JSON Schema reference for editor support."
},
"sources": {
"type": "array",
"items": { "type": "string" },
"description": "Files or directories to compile."
},
"output": {
"type": "string",
"description": "Output file path."
},
"outputMode": {
"type": "string",
"enum": [
"html",
"twee3",
"twee1",
"twine2-archive",
"twine1-archive",
"json"
],
"default": "html",
"description": "Output mode."
},
"formatId": {
"type": "string",
"description": "Story format directory ID (e.g. 'sugarcube-2')."
},
"startPassage": {
"type": "string",
"description": "Name of the starting passage.",
"default": "Start"
},
"formatPaths": {
"type": "array",
"items": { "type": "string" },
"description": "Extra directories to search for story formats."
},
"formatIndices": {
"type": "array",
"items": { "type": "string" },
"description": "URLs to SFA-compatible index.json files for remote format lookup."
},
"formatUrls": {
"type": "array",
"items": { "type": "string" },
"description": "Direct URLs to format.js files."
},
"useTweegoPath": {
"type": "boolean",
"default": true,
"description": "Also search TWEEGO_PATH env for formats."
},
"modules": {
"type": "array",
"items": { "type": "string" },
"description": "Module files to inject into <head>."
},
"headFile": {
"type": "string",
"description": "Raw HTML file to append to <head>."
},
"trim": {
"type": "boolean",
"default": true,
"description": "Trim passage whitespace."
},
"twee2Compat": {
"type": "boolean",
"default": false,
"description": "Twee2 compatibility mode."
},
"testMode": {
"type": "boolean",
"default": false,
"description": "Enable debug/test mode option."
},
"noRemote": {
"type": "boolean",
"default": false,
"description": "Disable remote format fetching."
},
"tagAliases": {
"type": "object",
"additionalProperties": { "type": "string" },
"description": "Map alias tags to canonical special tags (e.g. { \"library\": \"script\" })."
},
"sourceInfo": {
"type": "boolean",
"default": false,
"description": "Emit source file and line as data- attributes on passage elements."
},
"wordCountMethod": {
"type": "string",
"enum": ["tweego", "whitespace"],
"default": "tweego",
"description": "Word counting method. 'tweego': NFKD normalize, divide chars by 5 (matches Tweego). 'whitespace': split on whitespace after stripping comments and markup."
}
}
}
Loading