{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-crosswork/json-schema/cisco-crosswork-operations-cisco-crosswork-optimization-engine-operations-sr-policies-on-interface-post-output-schema.json",
  "title": "operations_cisco-crosswork-optimization-engine-operations_sr-policies-on-interface-post-output",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-crosswork-operations-api-openapi.yml#/components/schemas/operations_cisco-crosswork-optimization-engine-operations_sr-policies-on-interface-post-output",
  "type": "object",
  "properties": {
    "cisco-crosswork-optimization-engine-operations:output": {
      "type": "object",
      "properties": {
        "status": {
          "description": "Enumeration of the request state (leaf)",
          "type": "string",
          "format": "enumeration",
          "default": "error",
          "enum": [
            "error",
            "accepted",
            "rejected"
          ]
        },
        "message": {
          "description": "The details of status above (leaf)",
          "type": "string",
          "format": "string"
        },
        "interface-sr-policies": {
          "type": "array",
          "description": "(list)",
          "items": {
            "type": "object",
            "properties": {
              "node": {
                "description": "The hostname of the source-node for the interface (leaf)",
                "type": "string",
                "format": "string"
              },
              "interface": {
                "description": "The name of the interface (leaf)",
                "type": "string",
                "format": "string"
              },
              "message": {
                "description": "(leaf)",
                "type": "string",
                "format": "string"
              },
              "sr-policies": {
                "type": "array",
                "description": "(list)",
                "items": {
                  "type": "object",
                  "properties": {
                    "head-end": {
                      "description": "The IP address of the SR policy source. (leaf)",
                      "type": "string",
                      "format": "union"
                    },
                    "end-point": {
                      "description": "The IP address of the SR policy destination. (leaf)",
                      "type": "string",
                      "format": "union"
                    },
                    "color": {
                      "description": "The color for the SR policy. (leaf)",
                      "type": "integer",
                      "format": "uint32"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}