{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CapabilityState",
  "title": "CapabilityState",
  "type": "object",
  "properties": {
    "state": {
      "allOf": [
        {
          "$ref": "#/components/schemas/CapabilityStateStateEnum"
        }
      ],
      "description": "Current state of the capability\n\n* `needs_setup` - needs_setup\n* `detected` - detected\n* `waiting_for_data` - waiting_for_data\n* `ready` - ready\n* `not_applicable` - not_applicable\n* `unknown` - unknown"
    },
    "estimated": {
      "type": "boolean",
      "description": "Whether the state is estimated from static analysis"
    },
    "reason": {
      "type": "string",
      "description": "Human-readable explanation"
    },
    "evidence": {
      "type": "object",
      "additionalProperties": true,
      "description": "Supporting evidence"
    }
  },
  "required": [
    "estimated",
    "reason",
    "state"
  ]
}