You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When trying to validate the current semantic convention with the tool ajv-cli, which is used in the Validate Json github action, the tool reports an unknown format of 'int64'.
To Reproduce
Steps to reproduce the behavior:
$ weaver -V
weaver 0.4.0
$ weaver registry json-schema -o semconv.schema.json
$ ajv -s semconv.schema.json -d "*.yaml" --own-properties
schema semconv.schema.json is invalid
error: unknown format "int64" ignored in schema at path "#/definitions/Examples/anyOf/1"
Expected behavior
The schema should be useable by tools outside of Weaver.
Additional context
I removed the "format": "int64" lines, and ajv complained about "format": "double" in the spec. Removing both from the generated spec allowed it to validate the model.
The text was updated successfully, but these errors were encountered:
MadVikingGod
changed the title
The Json schema uses an unknown type int64
The Json schema uses an unknown type int64 and doubleJul 3, 2024
Describe the bug
When trying to validate the current semantic convention with the tool
ajv-cli
, which is used in the Validate Json github action, the tool reports an unknown format of 'int64'.To Reproduce
Steps to reproduce the behavior:
Expected behavior
The schema should be useable by tools outside of Weaver.
Additional context
I removed the "format": "int64" lines, and ajv complained about "format": "double" in the spec. Removing both from the generated spec allowed it to validate the model.
The text was updated successfully, but these errors were encountered: