# Source Schema

{% hint style="success" %}
*New GraphQL definitions coming soon! Fields subject to change without notice during beta.*
{% endhint %}

{% hint style="info" %}
A Fide Source will always have a digital location such as a blockchain address or url.
{% endhint %}

> **Standard `{"key" : "value"}` JSON schema for all Fide Sources from a** [**Source Endpoint**](https://docs.fide.id/legacy-endpoints#source)**.**

<table><thead><tr><th width="238">key</th><th width="176.33333333333331">type</th><th>description</th></tr></thead><tbody><tr><td><strong>fide_source_id</strong></td><td><code>string</code></td><td>Fide's unique identifier for the source</td></tr><tr><td><strong>types</strong></td><td><code>string[]</code></td><td><a href="#types"><code>Types</code></a></td></tr><tr><td><strong>tags</strong></td><td><code>string[]</code></td><td><a href="#tags"><code>Tags</code></a></td></tr><tr><td><strong>source_name</strong></td><td><code>string</code></td><td>name as defined in Fide Sources</td></tr><tr><td><strong>identifiers</strong></td><td><code>dictionary</code></td><td><a href="#identifiers"><code>Identifiers</code></a> associated with the <code>source_name</code> and <code>query_name</code> as defined in Fide Sources</td></tr><tr><td><strong>url</strong></td><td><code>string</code></td><td>primary web address if <code>published</code>, primary archive web address if <code>unpublished</code></td></tr><tr><td><strong>images</strong></td><td><code>dictionary</code></td><td><a href="#images"><code>Images</code></a></td></tr><tr><td><strong>descriptions</strong></td><td><code>dictionary</code></td><td><a href="#descriptions"><code>Descriptions</code></a></td></tr><tr><td><strong>functions</strong></td><td><code>dictionary[]</code></td><td><a href="#functions"><code>Functions</code></a></td></tr><tr><td><strong>times</strong></td><td><code>dictionary</code></td><td><a href="#times"><code>Times</code></a></td></tr><tr><td><strong>statistics</strong></td><td><code>dictionary</code></td><td><a href="#statistics"><code>Statistics</code></a></td></tr><tr><td><strong>physical_location</strong></td><td><code>dictionary</code></td><td><a href="#location"><code>Location</code></a></td></tr><tr><td><strong>blockchain_ecosystems</strong></td><td><code>string[]</code></td><td><a href="#blockchain-ecosystems"><code>Blockchain Ecosystems</code></a></td></tr><tr><td><strong>fide_time_created</strong></td><td><code>unix timestamp</code></td><td>time Fide Source was created</td></tr><tr><td><strong>fide_time_updated</strong></td><td><code>unix timestamp</code></td><td>time Fide Source was updated</td></tr><tr><td>contributors</td><td></td><td>Contribution List</td></tr><tr><td></td><td></td><td></td></tr></tbody></table>

## Identifiers

<table><thead><tr><th width="246">key</th><th width="140.33333333333331">type</th><th>description</th></tr></thead><tbody><tr><td>id</td><td><code>string</code></td><td>unique identifier assigned by the source</td></tr><tr><td>slug</td><td><code>string</code></td><td>latest alphanumeric identifier (ex: "username", "handle")</td></tr><tr><td>blockchain_hash</td><td><code>string</code></td><td>a unique hash identifying a blockchain interaction</td></tr><tr><td>blockchain_address</td><td><code>string[]</code></td><td>unique address on blockchain (ex: "wallet address" , "smart contract address")</td></tr><tr><td>ens</td><td><code>string[]</code></td><td>ens domain(s) of the current blockchain_address (ending with ".eth")</td></tr><tr><td>lens</td><td><code>string[]</code></td><td>lens domain(s) of the current blockchain_address (ending with ".lens")</td></tr></tbody></table>

## Images

<table><thead><tr><th width="242.33333333333331">key</th><th width="147">type</th><th>description</th></tr></thead><tbody><tr><td>primary</td><td><code>string</code></td><td>primary image url</td></tr><tr><td>secondary</td><td><code>string</code></td><td>secondary image url</td></tr><tr><td>tertiary</td><td><code>string</code></td><td>tertiary image url</td></tr><tr><td>banner</td><td><code>string</code></td><td>banner image url</td></tr></tbody></table>

## Descriptions

<table><thead><tr><th width="243.33333333333331">key</th><th width="149">type</th><th>description</th></tr></thead><tbody><tr><td>short</td><td><code>string</code></td><td>>200 characters</td></tr><tr><td>medium</td><td><code>string</code></td><td>200-500 characters</td></tr><tr><td>long</td><td><code>string</code></td><td>&#x3C;500 characters</td></tr><tr><td>version</td><td><code>string</code></td><td>latest "version", "release number", or similar</td></tr></tbody></table>

## Functions

<table><thead><tr><th width="243.33333333333331">key</th><th width="149">type</th><th>description</th></tr></thead><tbody><tr><td>name</td><td><code>string</code></td><td></td></tr><tr><td>description</td><td><code>string</code></td><td></td></tr><tr><td>variables</td><td><code>tuple</code></td><td></td></tr><tr><td>version</td><td><code>string</code></td><td>latest "version", "release number", or similar</td></tr></tbody></table>

## Times

<table><thead><tr><th width="179.33333333333331">key</th><th width="213">type</th><th>description</th></tr></thead><tbody><tr><td>start</td><td><code>unix timestamp</code></td><td>time first published or active</td></tr><tr><td>start_range</td><td><code>number</code></td><td>confidence range equally distributed before and after <code>start</code> measured in milliseconds</td></tr><tr><td>updated</td><td><code>unix timestamp</code></td><td>time last updated</td></tr><tr><td>updated_range</td><td><code>number</code></td><td>confidence range equally distributed before and after <code>updated</code> measured in milliseconds</td></tr><tr><td>end</td><td><code>unix timestamp</code></td><td>time last unpublished or deactivated</td></tr><tr><td>end_range</td><td><code>number</code></td><td>confidence range equally distributed before and after <code>end</code> measured in milliseconds</td></tr></tbody></table>

## Location

<table><thead><tr><th width="241">key</th><th width="157.33333333333331">type</th><th>description</th></tr></thead><tbody><tr><td>formatted_address</td><td><code>string</code></td><td>complete address</td></tr><tr><td>lat</td><td><code>string</code></td><td>latitude</td></tr><tr><td>lng</td><td><code>string</code></td><td>longitude</td></tr><tr><td>ne_viewport_lat</td><td><code>string</code></td><td>northeast viewport latitude</td></tr><tr><td>ne_viewport_lng</td><td><code>string</code></td><td>northeast viewport longitude</td></tr><tr><td>sw_viewport_lat</td><td><code>string</code></td><td>southwest viewport latitude</td></tr><tr><td>sw_viewport_lng</td><td><code>string</code></td><td>southwest viewport longitude</td></tr><tr><td>address_components</td><td><code>dictionary[]</code></td><td><a href="#location-address-components"><code>Address Components</code></a></td></tr></tbody></table>

### Address Components

<table><thead><tr><th width="239">key</th><th width="159.33333333333331">type</th><th>description</th></tr></thead><tbody><tr><td>types</td><td><code>string[]</code></td><td><a href="https://developers.google.com/maps/documentation/places/web-service/supported_types#table1"><code>Google Place Types</code></a></td></tr><tr><td>long_name</td><td><code>string</code></td><td>component's long name</td></tr><tr><td>long_name</td><td><code>string</code></td><td>component's short name</td></tr></tbody></table>

## Statistics

<table><thead><tr><th width="238">key</th><th width="163.33333333333331">type</th><th>description</th></tr></thead><tbody><tr><td>followers_count</td><td><code>number</code></td><td>latest count of "followers" or similar</td></tr><tr><td>following_count</td><td><code>number</code></td><td>latest count of "following" or similar</td></tr><tr><td>subscribers_count</td><td><code>number</code></td><td>latest count of "subscribers" or similar</td></tr><tr><td>subscriptions_count</td><td><code>number</code></td><td>latest count of "subscriptions" or similar</td></tr><tr><td>views_count</td><td><code>number</code></td><td>latest count of "views", "visits", "impressions" or similar</td></tr><tr><td>likes_count</td><td><code>number</code></td><td>latest count of "likes", "favorites", "stars", "hearts" or similar</td></tr><tr><td>deployments_count</td><td><code>number</code></td><td>latest count of "deployments", "times published" or similar</td></tr><tr><td>saves_count</td><td><code>number</code></td><td>latest count of "saves", "forks" or similar</td></tr></tbody></table>

## Types

<table><thead><tr><th width="250.33333333333331">value</th><th>description</th></tr></thead><tbody><tr><td>profile</td><td>a digital location representing a single <a href="broken-reference"><code>Entity</code></a></td></tr><tr><td>web_app</td><td>application software access using a web browser</td></tr><tr><td>technical_documentation</td><td>technical documentation</td></tr><tr><td>forum</td><td>a digital location where ideas and views on a particular topic can be exchanged.</td></tr><tr><td>post</td><td>any digital publication</td></tr><tr><td>article</td><td>any <code>post</code> in article format</td></tr><tr><td>video</td><td>any <code>post</code> in video format</td></tr><tr><td>audio</td><td>any <code>post</code> in audio format</td></tr><tr><td>project_audit</td><td>any <code>post</code> considered to be an analysis of a single project <a href="broken-reference"><code>Entity</code></a></td></tr><tr><td>blockchain_contract_audit</td><td>any <code>project_audit</code> considered to be an analysis of a <code>blockchain_contract</code></td></tr><tr><td>blockchain_address</td><td>a unique identifier used to send, receive and store digital assets on a blockchain network</td></tr><tr><td>blockchain_wallet</td><td>a <code>blockchain_address</code> with a private key</td></tr><tr><td>blockchain_contract</td><td>a <code>blockchain_address</code> with on-chain code</td></tr><tr><td>blockchain_transaction</td><td>a blockchain transaction</td></tr><tr><td>physical_location</td><td>representative of a physical location</td></tr><tr><td>physical_event</td><td>an event with physical components (hosted in-person)</td></tr><tr><td>digital_event</td><td>an event with digital components (hosted digitally)</td></tr></tbody></table>

## Tags

<table><thead><tr><th width="253">value</th><th>description</th></tr></thead><tbody><tr><td>published</td><td>is currently published</td></tr><tr><td>unpublished</td><td>was previously published and is currently unpublished</td></tr><tr><td>updated</td><td>has ever been updated</td></tr><tr><td>deployable</td><td>can currently be deployed</td></tr><tr><td>erc_20</td><td>the <a href="https://ethereum.org/en/developers/docs/standards/tokens/erc-20/">ERC-20</a> token standard for fungible tokens</td></tr><tr><td>erc_721</td><td>the <a href="https://ethereum.org/en/developers/docs/standards/tokens/erc-721/">ERC-721</a> token standard for non-fungible tokens (NFTs)</td></tr><tr><td>erc_777</td><td>the <a href="https://ethereum.org/en/developers/docs/standards/tokens/erc-777/">ERC-777</a> 7token standard for fungible tokens</td></tr><tr><td>erc_1155</td><td>the <a href="https://ethereum.org/en/developers/docs/standards/tokens/erc-1155/">ERC-1155</a> token standard for multiple token types</td></tr><tr><td>erc_4626</td><td>the <a href="https://ethereum.org/en/developers/docs/standards/tokens/erc-4626/">ERC-4626</a> tokenized vault standard</td></tr><tr><td>professional</td><td>professional representation of a single <a href="broken-reference"><code>Entity</code></a></td></tr></tbody></table>
