{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-ranger/refs/heads/main/json-structure/apache-ranger-ranger-service-structure.json",
  "description": "Ranger service definition",
  "type": "object",
  "properties": {
    "id": {
      "type": "int32",
      "description": "Service identifier"
    },
    "name": {
      "type": "string",
      "description": "Service name"
    },
    "type": {
      "type": "string",
      "description": "Service type (hdfs, hive, hbase, kafka, etc.)"
    },
    "description": {
      "type": "string",
      "description": "Service description"
    },
    "isEnabled": {
      "type": "boolean",
      "description": "Whether the service is active"
    },
    "configs": {
      "type": "object",
      "description": "Service connection configuration",
      "additionalProperties": {
        "type": "string"
      }
    }
  },
  "name": "RangerService"
}