{
  "name": "litecoin-register",
  "title": "Litecoin Register",
  "description": "Litecoin Register tracks how much Litecoin (LTC) is held by publicly known exchanges, investment products, miners, governments and ecosystem protocols. Every figure links to its source, states how it was obtained, and is available as HTML, JSON, CSV and Markdown.",
  "version": "1.0.0",
  "homepage": "https://litecoinregister.org/",
  "licenses": [
    {
      "name": "CC-BY-4.0",
      "path": "https://creativecommons.org/licenses/by/4.0/",
      "title": "CC BY 4.0"
    }
  ],
  "resources": [
    {
      "name": "entities",
      "path": "https://litecoinregister.org/data/entities.csv",
      "format": "csv",
      "mediatype": "text/csv",
      "description": "One row per entity with its current (most recent) holding.",
      "schema": {
        "fields": [
          {
            "name": "id",
            "type": "string",
            "description": "Stable entity identifier."
          },
          {
            "name": "name",
            "type": "string",
            "description": "Common name of the entity."
          },
          {
            "name": "category",
            "type": "string",
            "description": "exchange | investment_product | corporate_treasury | miner | government | ecosystem"
          },
          {
            "name": "category_label",
            "type": "string",
            "description": "Human-readable category."
          },
          {
            "name": "subcategory",
            "type": "string",
            "description": "Finer classification within the category (see /methodology/#categories)."
          },
          {
            "name": "jurisdiction_code",
            "type": "string",
            "description": "ISO 3166-1 alpha-2 code (EU = Europe, ZZ = unknown, XA-XZ = fixture-only)."
          },
          {
            "name": "jurisdiction_name",
            "type": "string",
            "description": "Jurisdiction name."
          },
          {
            "name": "tickers",
            "type": "string",
            "description": "Semicolon-separated tickers, if any."
          },
          {
            "name": "status",
            "type": "string",
            "description": "active | inactive | defunct"
          },
          {
            "name": "amount_ltc",
            "type": "number",
            "description": "Current holding in whole LTC."
          },
          {
            "name": "as_of",
            "type": "date",
            "description": "Date the current holding applies to."
          },
          {
            "name": "method",
            "type": "string",
            "description": "How the current figure was obtained."
          },
          {
            "name": "source_urls",
            "type": "string",
            "description": "Space-separated URLs of sources for the current figure."
          },
          {
            "name": "last_reviewed",
            "type": "date",
            "description": "Date the record was last reviewed."
          },
          {
            "name": "is_fixture",
            "type": "boolean",
            "description": "True for fictional placeholder records."
          },
          {
            "name": "url",
            "type": "string",
            "description": "Canonical page for the entity."
          }
        ],
        "primaryKey": "id"
      }
    },
    {
      "name": "holdings",
      "path": "https://litecoinregister.org/data/holdings.csv",
      "format": "csv",
      "mediatype": "text/csv",
      "description": "One row per holding snapshot. Use for time series.",
      "schema": {
        "fields": [
          {
            "name": "entity_id",
            "type": "string",
            "description": "Stable entity identifier."
          },
          {
            "name": "entity_name",
            "type": "string",
            "description": "Common name of the entity."
          },
          {
            "name": "category",
            "type": "string",
            "description": "exchange | investment_product | corporate_treasury | miner | government | ecosystem"
          },
          {
            "name": "subcategory",
            "type": "string",
            "description": "Finer classification within the category."
          },
          {
            "name": "as_of",
            "type": "date",
            "description": "Date the balance applies to."
          },
          {
            "name": "amount_ltc",
            "type": "number",
            "description": "Balance in whole LTC."
          },
          {
            "name": "method",
            "type": "string",
            "description": "How the figure was obtained."
          },
          {
            "name": "is_current",
            "type": "boolean",
            "description": "True for the entity’s latest snapshot."
          },
          {
            "name": "source_urls",
            "type": "string",
            "description": "Space-separated source URLs."
          },
          {
            "name": "note",
            "type": "string",
            "description": "Caveats for this figure, if any."
          },
          {
            "name": "is_fixture",
            "type": "boolean",
            "description": "True for fictional placeholder records."
          }
        ],
        "primaryKey": [
          "entity_id",
          "as_of"
        ],
        "foreignKeys": [
          {
            "fields": "entity_id",
            "reference": {
              "resource": "entities",
              "fields": "id"
            }
          }
        ]
      }
    }
  ]
}
