{
  "@context": {
    "term": "https://rtcstats.com/schemas/vocabulary.json#term",
    "label": "http://www.w3.org/2000/01/rdf-schema#label",
    "xsd": "http://www.w3.org/2001/XMLSchema#"
  },
  "@id": "https://rtcstats.com/schemas/vocabulary.json",
  "name": "rtcStats vocabulary",
  "description": "Controlled value sets used across the rtcStats API: observation severities, categories and tags, score names, connectivity types and plan identifiers. Observation type names are not a closed set and are not listed here: read them from the `type` field of the observations your own sessions return.",
  "version": "1.0",
  "conceptSchemes": {
    "severity": {
      "@id": "https://rtcstats.com/schemas/vocabulary.json#severity",
      "description": "How badly an observation affects the call, most severe first.",
      "ordered": true,
      "concepts": [
        {
          "@id": "https://rtcstats.com/schemas/vocabulary.json#severity/high",
          "term": "high"
        },
        {
          "@id": "https://rtcstats.com/schemas/vocabulary.json#severity/medium",
          "term": "medium"
        },
        {
          "@id": "https://rtcstats.com/schemas/vocabulary.json#severity/low",
          "term": "low"
        },
        {
          "@id": "https://rtcstats.com/schemas/vocabulary.json#severity/info",
          "term": "info"
        }
      ]
    },
    "category": {
      "@id": "https://rtcstats.com/schemas/vocabulary.json#category",
      "description": "Which part of the session an observation was raised against.",
      "concepts": [
        {
          "@id": "https://rtcstats.com/schemas/vocabulary.json#category/connections",
          "term": "connections"
        },
        {
          "@id": "https://rtcstats.com/schemas/vocabulary.json#category/streams",
          "term": "streams"
        },
        {
          "@id": "https://rtcstats.com/schemas/vocabulary.json#category/devices",
          "term": "devices"
        },
        {
          "@id": "https://rtcstats.com/schemas/vocabulary.json#category/datachannels",
          "term": "datachannels"
        },
        {
          "@id": "https://rtcstats.com/schemas/vocabulary.json#category/logs",
          "term": "logs"
        },
        {
          "@id": "https://rtcstats.com/schemas/vocabulary.json#category/pairs",
          "term": "pairs"
        }
      ]
    },
    "tag": {
      "@id": "https://rtcstats.com/schemas/vocabulary.json#tag",
      "description": "Cross-cutting subject labels. An observation carries zero or more; they are the filter axis on GET /v1.0/sessions.",
      "concepts": [
        {
          "@id": "https://rtcstats.com/schemas/vocabulary.json#tag/audio",
          "term": "audio"
        },
        {
          "@id": "https://rtcstats.com/schemas/vocabulary.json#tag/behavior",
          "term": "behavior"
        },
        {
          "@id": "https://rtcstats.com/schemas/vocabulary.json#tag/bug",
          "term": "bug"
        },
        {
          "@id": "https://rtcstats.com/schemas/vocabulary.json#tag/configuration",
          "term": "configuration"
        },
        {
          "@id": "https://rtcstats.com/schemas/vocabulary.json#tag/connectivity",
          "term": "connectivity"
        },
        {
          "@id": "https://rtcstats.com/schemas/vocabulary.json#tag/cpu",
          "term": "cpu"
        },
        {
          "@id": "https://rtcstats.com/schemas/vocabulary.json#tag/datachannel",
          "term": "datachannel"
        },
        {
          "@id": "https://rtcstats.com/schemas/vocabulary.json#tag/inbound",
          "term": "inbound"
        },
        {
          "@id": "https://rtcstats.com/schemas/vocabulary.json#tag/network",
          "term": "network"
        },
        {
          "@id": "https://rtcstats.com/schemas/vocabulary.json#tag/outbound",
          "term": "outbound"
        },
        {
          "@id": "https://rtcstats.com/schemas/vocabulary.json#tag/peripheral",
          "term": "peripheral"
        },
        {
          "@id": "https://rtcstats.com/schemas/vocabulary.json#tag/security",
          "term": "security"
        },
        {
          "@id": "https://rtcstats.com/schemas/vocabulary.json#tag/video",
          "term": "video"
        }
      ]
    },
    "score": {
      "@id": "https://rtcstats.com/schemas/vocabulary.json#score",
      "description": "Scores computed per session. All are 0 to 100, higher is better.",
      "concepts": [
        {
          "@id": "https://rtcstats.com/schemas/vocabulary.json#experienceScore",
          "term": "experienceScore",
          "label": "Experience Score",
          "description": "Overall experience score (0-100). Null when there is no media data to score against.",
          "range": "xsd:decimal"
        },
        {
          "@id": "https://rtcstats.com/schemas/vocabulary.json#audioScore",
          "term": "audioScore",
          "label": "Audio Score",
          "description": "Audio quality score (1-5). Null when no audio stream is present.",
          "range": "xsd:decimal"
        },
        {
          "@id": "https://rtcstats.com/schemas/vocabulary.json#videoScore",
          "term": "videoScore",
          "label": "Video Score",
          "description": "Video quality score (1-5). Null when no video stream is present.",
          "range": "xsd:decimal"
        },
        {
          "@id": "https://rtcstats.com/schemas/vocabulary.json#connectivityScore",
          "term": "connectivityScore",
          "label": "Connectivity Score",
          "description": "Connectivity score (1-5). Null when no peer connection produced a connectivity score.",
          "range": "xsd:decimal"
        },
        {
          "@id": "https://rtcstats.com/schemas/vocabulary.json#observationsScore",
          "term": "observationsScore",
          "label": "Observations Score",
          "description": "Aggregated severity score derived from observations. Null when unavailable.",
          "range": "xsd:decimal"
        }
      ]
    },
    "plan": {
      "@id": "https://rtcstats.com/schemas/vocabulary.json#plan",
      "description": "Subscription plan identifiers as returned in QuotaResponse.accountPlan.",
      "concepts": [
        {
          "@id": "https://rtcstats.com/schemas/vocabulary.json#plan/free",
          "term": "free"
        },
        {
          "@id": "https://rtcstats.com/schemas/vocabulary.json#plan/startup",
          "term": "startup"
        },
        {
          "@id": "https://rtcstats.com/schemas/vocabulary.json#plan/trial_developer",
          "term": "trial_developer"
        },
        {
          "@id": "https://rtcstats.com/schemas/vocabulary.json#plan/developer",
          "term": "developer"
        },
        {
          "@id": "https://rtcstats.com/schemas/vocabulary.json#plan/enterprise",
          "term": "enterprise"
        }
      ]
    }
  }
}