{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pulsefeed-dev/json-schema/pulsefeed-dev-trust-score-schema.json",
  "title": "TrustScore",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pulsefeed-dev-openapi.json#/components/schemas/TrustScore",
  "type": "object",
  "properties": {
    "standard": {
      "type": "string"
    },
    "version": {
      "type": "string"
    },
    "range": {
      "type": "string"
    },
    "bands": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "band": {
            "type": "string",
            "enum": [
              "verified",
              "trusted",
              "caution",
              "avoid",
              "unknown"
            ]
          },
          "label": {
            "type": "string"
          },
          "range": {
            "type": "string"
          },
          "meaning": {
            "type": "string"
          }
        },
        "required": [
          "band",
          "label",
          "range",
          "meaning"
        ],
        "additionalProperties": true
      }
    },
    "factors": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "factor": {
            "type": "string"
          },
          "effect": {
            "type": "string"
          },
          "note": {
            "type": "string"
          }
        },
        "required": [
          "factor",
          "effect",
          "note"
        ],
        "additionalProperties": true
      }
    },
    "verdicts": {
      "type": "object",
      "properties": {},
      "additionalProperties": true
    },
    "consume": {
      "type": "object",
      "properties": {},
      "additionalProperties": true
    },
    "receiverCoverage": {
      "$ref": "#/$defs/ReceiverCoverage"
    },
    "cite": {
      "type": "string"
    },
    "note": {
      "type": "string"
    },
    "ts": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "standard",
    "version",
    "range",
    "bands",
    "factors",
    "verdicts",
    "consume",
    "cite",
    "note",
    "ts"
  ],
  "additionalProperties": true,
  "$defs": {
    "ReceiverCoverage": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "mode": {
            "type": "string",
            "enum": [
              "live",
              "cached"
            ]
          },
          "network": {
            "type": "string"
          },
          "checks": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "limitations": {
            "type": "string"
          }
        },
        "required": [
          "mode",
          "network",
          "checks",
          "limitations"
        ],
        "additionalProperties": true
      }
    }
  }
}