mirror of
https://github.com/web3privacy/explorer-data.git
synced 2024-10-15 12:06:26 +02:00
fix(schema): ecosystem type, add rank positive and negative texts
This commit is contained in:
parent
435304b3c3
commit
bb55177ab1
3 changed files with 46 additions and 4 deletions
|
@ -25,10 +25,10 @@ properties:
|
||||||
type: string
|
type: string
|
||||||
pattern: '^[A-Z0-9-]+$'
|
pattern: '^[A-Z0-9-]+$'
|
||||||
ecosystem:
|
ecosystem:
|
||||||
anyOf: [{type: array}, {type: string}]
|
type: array
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
pattern: '^[A-Z0-9-]+$'
|
pattern: '^[a-z0-9-]+$'
|
||||||
project_type:
|
project_type:
|
||||||
type: string
|
type: string
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -13,6 +13,10 @@ properties:
|
||||||
type: string
|
type: string
|
||||||
label:
|
label:
|
||||||
type: string
|
type: string
|
||||||
|
positive:
|
||||||
|
type: string
|
||||||
|
negative:
|
||||||
|
type: string
|
||||||
condition:
|
condition:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
|
|
@ -3,51 +3,71 @@
|
||||||
references:
|
references:
|
||||||
- field: team.teammembers
|
- field: team.teammembers
|
||||||
label: Team
|
label: Team
|
||||||
|
positive: 'Member'
|
||||||
|
negative: 'Anonymous'
|
||||||
condition:
|
condition:
|
||||||
minLength: 1
|
minLength: 1
|
||||||
points: 10
|
points: 10
|
||||||
- field: links.docs
|
- field: links.docs
|
||||||
label: Documentation
|
label: Documentation
|
||||||
|
positive: 'Link'
|
||||||
|
negative: 'Not available'
|
||||||
condition:
|
condition:
|
||||||
exists: true
|
exists: true
|
||||||
points: 10
|
points: 10
|
||||||
- field: links.github
|
- field: links.github
|
||||||
label: Github
|
label: Github
|
||||||
|
positive: 'Link'
|
||||||
|
negative: 'Not available'
|
||||||
condition:
|
condition:
|
||||||
exists: true
|
exists: true
|
||||||
points: 10
|
points: 10
|
||||||
- field: links.twitter
|
- field: links.twitter
|
||||||
label: Twitter
|
label: Twitter
|
||||||
|
positive: 'Link'
|
||||||
|
negative: 'Not available'
|
||||||
condition:
|
condition:
|
||||||
exists: true
|
exists: true
|
||||||
points: 1
|
points: 1
|
||||||
- field: links.telegram
|
- field: links.telegram
|
||||||
label: Telegram
|
label: Telegram
|
||||||
|
positive: 'Link'
|
||||||
|
negative: 'Not available'
|
||||||
condition:
|
condition:
|
||||||
exists: true
|
exists: true
|
||||||
points: 1
|
points: 1
|
||||||
- field: links.discord
|
- field: links.discord
|
||||||
label: Discord
|
label: Discord
|
||||||
|
positive: 'Link'
|
||||||
|
negative: 'Not available'
|
||||||
condition:
|
condition:
|
||||||
exists: true
|
exists: true
|
||||||
points: 1
|
points: 1
|
||||||
- field: links.lens
|
- field: links.lens
|
||||||
label: Lens
|
label: Lens
|
||||||
|
positive: 'Link'
|
||||||
|
negative: 'Not available'
|
||||||
condition:
|
condition:
|
||||||
exists: true
|
exists: true
|
||||||
points: 1
|
points: 1
|
||||||
- field: links.farcaster
|
- field: links.farcaster
|
||||||
label: Farcaster
|
label: Farcaster
|
||||||
|
positive: 'Link'
|
||||||
|
negative: 'Not available'
|
||||||
condition:
|
condition:
|
||||||
exists: true
|
exists: true
|
||||||
points: 1
|
points: 1
|
||||||
- field: links.whitepaper
|
- field: links.whitepaper
|
||||||
label: Whitepaper
|
label: Whitepaper
|
||||||
|
positive: 'Link'
|
||||||
|
negative: 'Not available'
|
||||||
condition:
|
condition:
|
||||||
exists: true
|
exists: true
|
||||||
points: 10
|
points: 10
|
||||||
- field: funding.value
|
- field: funding.value
|
||||||
label: Funding
|
label: Funding
|
||||||
|
positive: 'Investment'
|
||||||
|
negative: 'Not available'
|
||||||
condition:
|
condition:
|
||||||
exists: true
|
exists: true
|
||||||
points: 10
|
points: 10
|
||||||
|
@ -57,26 +77,36 @@
|
||||||
references:
|
references:
|
||||||
- field: project_status.mainnet
|
- field: project_status.mainnet
|
||||||
label: Mainnet
|
label: Mainnet
|
||||||
|
positive: 'Yes'
|
||||||
|
negative: 'No'
|
||||||
condition:
|
condition:
|
||||||
exists: true
|
exists: true
|
||||||
points: 10
|
points: 10
|
||||||
- field: blockchain_features.opensource
|
- field: blockchain_features.opensource
|
||||||
label: Open Source
|
label: Open Source
|
||||||
|
positive: 'Yes'
|
||||||
|
negative: 'No'
|
||||||
condition:
|
condition:
|
||||||
equals: true
|
equals: true
|
||||||
points: 20
|
points: 20
|
||||||
- field: blockchain_features.asset_custody_type
|
- field: blockchain_features.asset_custody_type
|
||||||
label: Non Custody
|
label: Non Custody
|
||||||
|
positive: 'None'
|
||||||
|
negative: 'Custodial'
|
||||||
condition:
|
condition:
|
||||||
equals: non-custody
|
equals: non-custody
|
||||||
points: 10
|
points: 10
|
||||||
- field: blockchain_features.upgradability.enabled
|
- field: blockchain_features.upgradability.enabled
|
||||||
label: Upgradability
|
label: Upgradability
|
||||||
|
positive: 'Disabled'
|
||||||
|
negative: 'Enabled'
|
||||||
condition:
|
condition:
|
||||||
equals: false
|
equals: false
|
||||||
points: 10
|
points: 10
|
||||||
- field: audits
|
- field: audits
|
||||||
label: Audits
|
label: Audits
|
||||||
|
positive: 'Audit'
|
||||||
|
negative: 'None'
|
||||||
condition:
|
condition:
|
||||||
minLength: 1
|
minLength: 1
|
||||||
points: 10
|
points: 10
|
||||||
|
@ -86,21 +116,29 @@
|
||||||
references:
|
references:
|
||||||
- field: privacy_policy.link
|
- field: privacy_policy.link
|
||||||
label: Privacy Policy
|
label: Privacy Policy
|
||||||
|
positive: 'Link'
|
||||||
|
negative: 'Not available'
|
||||||
condition:
|
condition:
|
||||||
exists: true
|
exists: true
|
||||||
points: 10
|
points: 10
|
||||||
- field: traceability.kyc
|
- field: traceability.kyc
|
||||||
label: KYC
|
label: KYC
|
||||||
|
positive: 'No'
|
||||||
|
negative: 'Yes'
|
||||||
condition:
|
condition:
|
||||||
equals: false
|
equals: false
|
||||||
points: 10
|
points: 10
|
||||||
- field: compliance
|
- field: compliance
|
||||||
label: Compliance
|
label: Compliance
|
||||||
|
positive: 'No'
|
||||||
|
negative: 'OFAC'
|
||||||
condition:
|
condition:
|
||||||
equals: true
|
equals: true
|
||||||
points: 5
|
points: 5
|
||||||
- field: default_privacy
|
- field: default_privacy
|
||||||
label: Default Privacy
|
label: Default Privacy
|
||||||
|
positive: 'YES'
|
||||||
|
negative: 'No'
|
||||||
condition:
|
condition:
|
||||||
equals: true
|
equals: true
|
||||||
points: 10
|
points: 10
|
||||||
|
|
Loading…
Reference in a new issue