oss-directory
oss-directory copied to clipboard
Create a new `oli-address` JSON schema type
For our validation logic, we currently using JSON schema.
I'd suggest creating a new type here: https://github.com/opensource-observer/oss-directory/tree/main/src/resources/schema
called oli-address.json, which should comply with the OLI definitions. It should look something like they show in their sample data.
https://github.com/openlabelsinitiative/OLI/blob/main/sample_data/op-mainnet_top_100_contracts_by_txcount_2024_07_24.json
Then in the project.json type, let's turn the blockchain section into a union type between blockchain-address and oli-address. This will make it easier for us to migrate addresses incrementally.