saveourtool / cosv4k

Kotlin and Java serialization schema for COSV
https://www.gitlink.org.cn/zone/CCF-ODC/source/7
MIT License
2 stars 0 forks source link

Not compatible with OSV #2

Closed nulls closed 1 year ago

nulls commented 1 year ago

https://ossf.github.io/osv-schema/#format-overview

Overall, the approach of this schema is to define only the fields that absolutely must be shared between databases, leaving customizations to the “ecosystem_specific” and “database_specific” blocks (see below)

Looks like the OSV doesn't allow unknown fields in JSON object.

orchestr7 commented 1 year ago

Probably it is not a problem, unknown fields are ok may be?

orchestr7 commented 1 year ago

As discussed with @nulls - it is not a big problem to extend schema with new fields, should be ok