{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$ref": "#/definitions/BundleEntrySearch",
  "definitions": {
    "BundleEntrySearch": {
      "type": "object",
      "properties": {
        "mode": {
          "type": "string",
          "enum": [
            "match",
            "include"
          ],
          "description": "Why this resource is in the result set.\n\n- `match` — The resource matched the search criteria\n- `include` — The resource was included because another matching resource references it"
        },
        "score": {
          "type": "number",
          "description": "Relevance ranking score (0.0–1.0) assigned by the server. Higher values indicate a closer match to the search criteria.",
          "minimum": 0,
          "maximum": 1
        }
      },
      "additionalProperties": false,
      "description": "Search result metadata for an entry in a searchset bundle.",
      "examples": [
        {
          "mode": "match",
          "score": 0.95
        }
      ]
    }
  },
  "$id": "https://bind-standard.org/schema/BundleEntrySearch",
  "title": "BundleEntrySearch"
}
