{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/starwell-dev/json-schema/starwell-dev-catalog-entry-schema.json",
  "title": "CatalogEntry",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/starwell-dev-openapi.yml#/components/schemas/CatalogEntry",
  "type": "object",
  "properties": {
    "source": {
      "type": "string"
    },
    "sourceName": {
      "type": "string"
    },
    "authority": {
      "type": [
        "string",
        "null"
      ]
    },
    "termsUrl": {
      "type": [
        "string",
        "null"
      ]
    },
    "seriesId": {
      "type": "string",
      "description": "Source-native id practitioners already use (e.g. 'UNRATE', 'v41690973')."
    },
    "indicator": {
      "type": "string"
    },
    "unit": {
      "type": [
        "string",
        "null"
      ]
    },
    "frequency": {
      "type": [
        "string",
        "null"
      ]
    },
    "geography": {
      "type": [
        "string",
        "null"
      ]
    },
    "startPeriod": {
      "type": [
        "string",
        "null"
      ],
      "format": "date"
    },
    "endPeriod": {
      "type": [
        "string",
        "null"
      ],
      "format": "date"
    },
    "verificationStatus": {
      "type": "string",
      "enum": [
        "passing",
        "stale",
        "failing",
        "unverified"
      ]
    },
    "lastVerifiedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "licenseCode": {
      "type": "string"
    },
    "attributionText": {
      "type": [
        "string",
        "null"
      ]
    },
    "redistributable": {
      "type": "boolean"
    },
    "datasetExternalId": {
      "type": "string"
    },
    "datasetTitle": {
      "type": "string"
    },
    "datasetUrl": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}