{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/codecov/main/json-schema/codecov-component-schema.json",
  "title": "Component",
  "x-generated": "2026-10-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/codecov-components-api-openapi.yml#/components/schemas/Component",
  "type": "object",
  "properties": {
    "component_id": {
      "type": "string"
    },
    "name": {
      "type": "string",
      "title": "component name"
    },
    "coverage": {
      "type": "number",
      "format": "double",
      "title": "component coverage"
    }
  },
  "required": [
    "component_id",
    "coverage",
    "name"
  ]
}