UnidirectionalServicePath (type)

{
  "description": "Representing either forward or reverse service path for ingress or egress traffic respectively.", 
  "id": "UnidirectionalServicePath", 
  "module_id": "ServiceInsertionCommonTypes", 
  "properties": {
    "hops": {
      "description": "List of service path hops that constitutes the forward or reverse service path.", 
      "items": {
        "$ref": "ServicePathHop
      }, 
      "readonly": true, 
      "required": false, 
      "title": "Forward or reverse service path hops", 
      "type": "array"
    }, 
    "host_cross_count": {
      "description": "The number of times the traffic needs to cross hosts for the given forward or reverse service path.", 
      "readonly": true, 
      "required": false, 
      "title": "Host crossing count", 
      "type": "integer"
    }, 
    "in_maintenance_mode": {
      "description": "Is forward or revserse service path in maintenance mode or not.", 
      "readonly": true, 
      "required": false, 
      "title": "Is in maintenance mode", 
      "type": "boolean"
    }, 
    "is_active": {
      "description": "Is forward or revserse service path active or not.", 
      "readonly": true, 
      "required": false, 
      "title": "Is active", 
      "type": "boolean"
    }, 
    "unidir_service_path_id": {
      "description": "Unique identifier of one directional service path.", 
      "readonly": true, 
      "required": false, 
      "title": "Unidirectional service path id", 
      "type": "integer"
    }
  }, 
  "title": "Forward or reverse service path", 
  "type": "object"
}