Only omit if you're sure you don't need the data.
{
type: 'object',
properties: {
id: {
type: 'string',
description: 'coin ID'
},
community_data: {
type: 'object',
description: 'coin community data',
properties: {
facebook_likes: {
type: 'number',
description: 'coin facebook likes'
},
reddit_accounts_active_48h: {
type: 'number',
description: 'coin reddit accounts active 48h'
},
reddit_average_comments_48h: {
type: 'number',
description: 'coin reddit average comments 48h'
},
reddit_average_posts_48h: {
type: 'number',
description: 'coin reddit average posts 48h'
},
reddit_subscribers: {
type: 'number',
description: 'coin reddit subscribers'
}
}
},
developer_data: {
type: 'object',
description: 'coin developer data',
properties: {
closed_issues: {
type: 'number',
description: 'coin repository closed issues'
},
code_additions_deletions_4_weeks: {
type: 'object',
description: 'coin code additions deletions 4 weeks',
properties: {
additions: {
type: 'number'
},
deletions: {
type: 'number'
}
}
},
commit_count_4_weeks: {
type: 'number',
description: 'coin commit count 4 weeks'
},
forks: {
type: 'number',
description: 'coin repository forks'
},
pull_request_contributors: {
type: 'number',
description: 'coin repository pull request contributors'
},
pull_requests_merged: {
type: 'number',
description: 'coin repository pull requests merged'
},
stars: {
type: 'number',
description: 'coin repository stars'
},
subscribers: {
type: 'number',
description: 'coin repository subscribers'
},
total_issues: {
type: 'number',
description: 'coin repository total issues'
}
}
},
image: {
type: 'object',
description: 'coin image url',
properties: {
small: {
type: 'string'
},
thumb: {
type: 'string'
}
}
},
localization: {
type: 'object',
description: 'coin localization'
},
market_data: {
type: 'object',
description: 'coin market data',
properties: {
current_price: {
type: 'object',
description: 'coin current price',
properties: {
btc: {
type: 'number'
},
eur: {
type: 'number'
},
usd: {
type: 'number'
}
}
},
market_cap: {
type: 'object',
description: 'coin market cap',
properties: {
btc: {
type: 'number'
},
eur: {
type: 'number'
},
usd: {
type: 'number'
}
}
},
total_volume: {
type: 'object',
description: 'coin total volume',
properties: {
btc: {
type: 'number'
},
eur: {
type: 'number'
},
usd: {
type: 'number'
}
}
}
}
},
name: {
type: 'string',
description: 'coin name'
},
public_interest_stats: {
type: 'object',
description: 'coin public interest stats',
properties: {
alexa_rank: {
type: 'number',
description: 'coin alexa rank'
},
bing_matches: {
type: 'number',
description: 'coin bing matches'
}
}
},
symbol: {
type: 'string',
description: 'coin symbol'
}
}
}