Skip to content

chore: regenerate vector schema (version 0.54.0)#5464

Merged
hyperupcall merged 7 commits intoSchemaStore:masterfrom
pront:pront-vector-0.54
Apr 13, 2026
Merged

chore: regenerate vector schema (version 0.54.0)#5464
hyperupcall merged 7 commits intoSchemaStore:masterfrom
pront:pront-vector-0.54

Conversation

@pront
Copy link
Copy Markdown
Contributor

@pront pront commented Mar 13, 2026

Regenerates the Vector schema for version 0.54.0.

brew tap vectordotdev/brew && brew install vector
vector generate-schema > src/schemas/json/vector.json

🤖 Generated with Claude Code

@github-actions
Copy link
Copy Markdown
Contributor

Thanks for the PR!

This section of the codebase is owned by @madskristensen and @hyperupcall - if they write a comment saying "LGTM" then it will be merged.

- Added missing `$id` field manually (vector's schema generator does not include it)
- Fixed typos that will be corrected upstream in vector: `overidden` -> `overridden`, `publically` -> `publicly`

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
vector's schema generator emits draft 2019-09; adding exception to allow it.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@pront pront force-pushed the pront-vector-0.54 branch from 1c82fc6 to f23714a Compare March 13, 2026 20:56
pre-commit-ci bot and others added 4 commits March 13, 2026 20:57
Ajv strict mode requires `"type": "object"` at the same level as
`unevaluatedProperties`. The generated schema has the type inside
`allOf` but not at the root level, causing validation to fail.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The generated Vector schema uses a custom `_metadata` keyword and has
`unevaluatedProperties` on subschemas without explicit type declarations.
Add to ajvNotStrictMode to relax strict type checking and register
`_metadata` as an allowed unknown keyword.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@pront
Copy link
Copy Markdown
Contributor Author

pront commented Apr 13, 2026

Hi @hyperupcall and @madskristensen, can you please review this? The current Vector schema in SchemaStore is quite outdated.

"ctfd.json",
"zarf.json",
"yamllint.json",
"vector.json",
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are using unevaluatedProperties.

"utam-page-object-2.0.3.json",
"utam-page-object-2.2.0.json",
"utcm-monitor.json",
"vector.json",
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can address this properly in future schema versions: vectordotdev/vector#25174

@hyperupcall
Copy link
Copy Markdown
Member

Awesome, thanks

@hyperupcall hyperupcall merged commit 899044e into SchemaStore:master Apr 13, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants