{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-crosswork/json-schema/cisco-crosswork-data-ietf-te-te-tunnels-tunnel-plan-tunnel-plan-name-schema.json",
  "title": "data_ietf-te_te_tunnels_tunnel-plan_tunnel-plan-name",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-crosswork-ietf-te-retrieval-api-openapi.yml#/components/schemas/data_ietf-te_te_tunnels_tunnel-plan_tunnel-plan-name",
  "type": "object",
  "properties": {
    "ietf-te:tunnel-plan": {
      "type": "array",
      "description": "(list)",
      "x-yang": {
        "type": "list"
      },
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "description": "(leaf)",
            "x-yang": {
              "type": "leaf"
            },
            "type": "string",
            "format": "string"
          },
          "plan": {
            "description": "(non-presence)",
            "type": "object",
            "x-yang": {
              "type": "container",
              "is_presence": "false"
            },
            "properties": {
              "component": {
                "type": "array",
                "description": "A component has a type and a list of states.  It is required\nthat the first plan component is of type ncs:self.  It is\nalso required that the first state of a component is ncs:init\nand the last state is ncs:ready.  A service can in addition\nto the 'self' component have any number of components. These\nadditional components will have types that are defined by\nuser specified YANG identities. (list)",
                "x-yang": {
                  "type": "list"
                },
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "description": "(leaf)",
                      "x-yang": {
                        "type": "leaf"
                      },
                      "type": "string",
                      "format": "string"
                    },
                    "type": {
                      "description": "The plan component type is defined by an YANG identity.\nIt is used to identify the characteristics of a certain component.\nTherefore, if two components in the same service are of the same\ntype they should be identical with respect to number, type and order\nof their contained states. (leaf)",
                      "x-yang": {
                        "type": "leaf"
                      },
                      "type": "string",
                      "format": "identityref"
                    },
                    "state": {
                      "type": "array",
                      "description": "A plan state represents a certain step or stage that a service needs\nto execute and/or reach. It is identified as an YANG identity.\nThere are two predefined states ncs:init and ncs:ready which is the\nfirst respectively last state of a plan component. (list)",
                      "x-yang": {
                        "type": "list"
                      },
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "description": "(leaf)",
                            "x-yang": {
                              "type": "leaf"
                            },
                            "type": "string",
                            "format": "identityref"
                          },
                          "status": {
                            "description": "A plan state is always in one of three states 'not-reached' when\nthe state has not been executed, 'reached' when the state has been\nexecuted and 'failed' it the state execution failed. (leaf)",
                            "x-yang": {
                              "type": "leaf"
                            },
                            "type": "string",
                            "format": "enumeration",
                            "default": "not-reached",
                            "enum": [
                              "not-reached",
                              "reached",
                              "failed"
                            ]
                          },
                          "when": {
                            "description": "The time this state was successfully reached or failed. (leaf)",
                            "x-yang": {
                              "type": "leaf"
                            },
                            "type": "string",
                            "format": "string"
                          },
                          "service-reference": {
                            "description": "If this component reflects the state of some other data, e.g\nan instantiated RFS, an instantiated CFS or something else, this\noptional field can be set to point to that instance (leaf)",
                            "x-yang": {
                              "type": "leaf"
                            },
                            "type": "string",
                            "format": "instance-identifier"
                          },
                          "create-cb": {
                            "description": "indicate if a create callback should be registered\nfor this state (leaf)",
                            "x-yang": {
                              "type": "leaf"
                            },
                            "type": "string",
                            "format": "boolean"
                          },
                          "create-force-commit": {
                            "description": "Indicate if the current transaction should be commited before\nrunning any later states. (leaf)",
                            "x-yang": {
                              "type": "leaf"
                            },
                            "type": "string",
                            "format": "boolean"
                          },
                          "delete-cb": {
                            "description": "indicate if a delete callback should be registered\nfor this state (leaf)",
                            "x-yang": {
                              "type": "leaf"
                            },
                            "type": "string",
                            "format": "boolean"
                          },
                          "delete-force-commit": {
                            "description": "Indicate if the current transaction should be commited before\nrunning any later states. (leaf)",
                            "x-yang": {
                              "type": "leaf"
                            },
                            "type": "string",
                            "format": "boolean"
                          },
                          "pre-conditions": {
                            "description": "Pre-conditions for a state controls whether or not a\nstate should be executed. There are separate conditions\nfor the 'create' and 'delete' case. At create the\ncreate conditions checked and if possible executed with\nthe ultimate goal for the state of having status\n'reached'. At the 'delete' case the delete conditions\ncontrol whether the state changes should be deleted\nwith the ultimate goal of the state having status\n'not-reached' (presence)",
                            "type": "object",
                            "x-yang": {
                              "type": "container",
                              "is_presence": "true"
                            },
                            "properties": {
                              "create-monitor": {
                                "description": "(leaf)",
                                "x-yang": {
                                  "type": "leaf"
                                },
                                "type": "string",
                                "format": "string"
                              },
                              "create-trigger-expr": {
                                "description": "(leaf)",
                                "x-yang": {
                                  "type": "leaf"
                                },
                                "type": "string",
                                "format": "string"
                              },
                              "delete-monitor": {
                                "description": "(leaf)",
                                "x-yang": {
                                  "type": "leaf"
                                },
                                "type": "string",
                                "format": "string"
                              },
                              "delete-trigger-expr": {
                                "description": "(leaf)",
                                "x-yang": {
                                  "type": "leaf"
                                },
                                "type": "string",
                                "format": "string"
                              }
                            }
                          },
                          "post-actions": {
                            "description": "Post-actions are called after successful execution of a\nstate.  These are optional and there are separate\naction that can be set for the 'create' and 'delete'\ncase respectively.\n\nThese actions are put as requests in the\nside-effect-queue and are executed asynchronously with\nrespect to the original service transaction. (presence)",
                            "type": "object",
                            "x-yang": {
                              "type": "container",
                              "is_presence": "true"
                            },
                            "properties": {
                              "create-action-node": {
                                "description": "This leaf identifies the node on which a specified\naction resides. This action is called after this state\nas got a 'reached' status. (leaf)",
                                "x-yang": {
                                  "type": "leaf"
                                },
                                "type": "string",
                                "format": "string"
                              },
                              "create-action-name": {
                                "description": "The name of the action. (leaf)",
                                "x-yang": {
                                  "type": "leaf"
                                },
                                "type": "string",
                                "format": "string"
                              },
                              "create-action-result-expr": {
                                "description": "An action responds with a structured result. A certain\nvalue could indicate an error or a successful result, e.g.\n'result true'.\n\nThis statement describes an XPath expression to\nevaluate the result of the action so that the\nside-effect-queue can indicate action errors.\n\nThe result of the expression is converted to a boolean using\nthe standard XPath rules.  If the result is 'true' the action\nis reported as successful, otherwise as failed.\n\nThe context for evaluating this expression is the\nresulting xml tree of the action.\n\nThe set of namespace declarations are all available namespaces,\nwith the prefixes defined in the modules. (leaf)",
                                "x-yang": {
                                  "type": "leaf"
                                },
                                "type": "string",
                                "format": "string"
                              },
                              "create-action-async": {
                                "description": "(leaf)",
                                "x-yang": {
                                  "type": "leaf"
                                },
                                "type": "string",
                                "format": "[null]"
                              },
                              "delete-action-node": {
                                "description": "This leaf identifies the node on which a specified\naction resides. This action is called after this state\nas got a 'not-reached' status. (leaf)",
                                "x-yang": {
                                  "type": "leaf"
                                },
                                "type": "string",
                                "format": "string"
                              },
                              "delete-action-name": {
                                "description": "The name of the action. (leaf)",
                                "x-yang": {
                                  "type": "leaf"
                                },
                                "type": "string",
                                "format": "string"
                              },
                              "delete-action-result-expr": {
                                "description": "An action responds with a structured result. A certain\nvalue could indicate an error or a successful result, e.g.\n'result true'.\n\nThis statement describes an XPath expression to evaluate the\nresult of the action so that the side-effect-queue can\nindicate action errors.\n\nThe result of the expression is converted to a boolean using\nthe standard XPath rules.  If the result is 'true' the action\nis reported as successful, otherwise as failed.\n\nThe context for evaluating this expression is the\nresulting xml tree of the action.\n\nThe set of namespace declarations are all available namespaces,\nwith the prefixes defined in the modules. (leaf)",
                                "x-yang": {
                                  "type": "leaf"
                                },
                                "type": "string",
                                "format": "string"
                              },
                              "delete-action-async": {
                                "description": "(leaf)",
                                "x-yang": {
                                  "type": "leaf"
                                },
                                "type": "string",
                                "format": "[null]"
                              }
                            }
                          },
                          "post-action-status": {
                            "description": "This leaf is initially set to 'not-reached'.\n\nIf a post-action was specified, and returned\nsuccessfully, this leaf will be set to 'create-reached'\nif the component is not back-tracking, and\n'delete-reached' if it is back-tracking.\n\nIf the post-action did not return successfully, this\nleaf is set to 'failed'. (leaf)",
                            "x-yang": {
                              "type": "leaf"
                            },
                            "type": "string",
                            "format": "enumeration",
                            "default": "not-reached",
                            "enum": [
                              "not-reached",
                              "create-reached",
                              "delete-reached",
                              "failed",
                              "create-init",
                              "delete-init"
                            ]
                          },
                          "modified": {
                            "description": "Devices and other services this service has modified directly or\nindirectly (through another service). (non-presence)",
                            "type": "object",
                            "x-yang": {
                              "type": "container",
                              "is_presence": "false"
                            },
                            "properties": {
                              "devices": {
                                "type": "array",
                                "x-yang": {
                                  "type": "leaf-list"
                                },
                                "items": {
                                  "description": "(leaf-list)",
                                  "type": "string",
                                  "format": "leafref"
                                }
                              },
                              "services": {
                                "type": "array",
                                "x-yang": {
                                  "type": "leaf-list"
                                },
                                "items": {
                                  "description": "(leaf-list)",
                                  "type": "string",
                                  "format": "instance-identifier"
                                }
                              },
                              "lsa-services": {
                                "type": "array",
                                "x-yang": {
                                  "type": "leaf-list"
                                },
                                "items": {
                                  "description": "(leaf-list)",
                                  "type": "string",
                                  "format": "instance-identifier"
                                }
                              }
                            }
                          },
                          "directly-modified": {
                            "description": "Devices and other services this service has explicitly\nmodified. (non-presence)",
                            "type": "object",
                            "x-yang": {
                              "type": "container",
                              "is_presence": "false"
                            },
                            "properties": {
                              "devices": {
                                "type": "array",
                                "x-yang": {
                                  "type": "leaf-list"
                                },
                                "items": {
                                  "description": "(leaf-list)",
                                  "type": "string",
                                  "format": "leafref"
                                }
                              },
                              "services": {
                                "type": "array",
                                "x-yang": {
                                  "type": "leaf-list"
                                },
                                "items": {
                                  "description": "(leaf-list)",
                                  "type": "string",
                                  "format": "instance-identifier"
                                }
                              },
                              "lsa-services": {
                                "type": "array",
                                "x-yang": {
                                  "type": "leaf-list"
                                },
                                "items": {
                                  "description": "(leaf-list)",
                                  "type": "string",
                                  "format": "instance-identifier"
                                }
                              }
                            }
                          },
                          "private": {
                            "description": "NCS service related internal data stored here. (non-presence)",
                            "type": "object",
                            "x-yang": {
                              "type": "container",
                              "is_presence": "false"
                            },
                            "properties": {
                              "diff-set": {
                                "description": "Internal node use by NCS service manager to remember\nthe reverse diff for a service instance. This is the\ndata that is used by FASTMAP (leaf)",
                                "x-yang": {
                                  "type": "leaf"
                                },
                                "type": "string",
                                "format": "binary"
                              },
                              "forward-diff-set": {
                                "description": "Internal node use by NCS service manager to remember\nthe forwards diff for a service instance. This data is\nis used to produce the proper 'get-modifications' output (leaf)",
                                "x-yang": {
                                  "type": "leaf"
                                },
                                "type": "string",
                                "format": "binary"
                              },
                              "device-list": {
                                "type": "array",
                                "x-yang": {
                                  "type": "leaf-list"
                                },
                                "items": {
                                  "description": "A list of managed devices this state has manipulated. (leaf-list)",
                                  "type": "string",
                                  "format": "string"
                                }
                              },
                              "ned-id-list": {
                                "type": "array",
                                "x-yang": {
                                  "type": "leaf-list"
                                },
                                "items": {
                                  "description": "A list of NED identities this service instance has\nmanipulated. (leaf-list)",
                                  "type": "string",
                                  "format": "string"
                                }
                              },
                              "service-list": {
                                "type": "array",
                                "x-yang": {
                                  "type": "leaf-list"
                                },
                                "items": {
                                  "description": "A list of services this state has manipulated. (leaf-list)",
                                  "type": "string",
                                  "format": "instance-identifier"
                                }
                              },
                              "lsa-service-list": {
                                "type": "array",
                                "x-yang": {
                                  "type": "leaf-list"
                                },
                                "items": {
                                  "description": "A list of LSA services this service instance has manipulated. (leaf-list)",
                                  "type": "string",
                                  "format": "instance-identifier"
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    "private": {
                      "description": "NCS service related internal data stored here. (non-presence)",
                      "type": "object",
                      "x-yang": {
                        "type": "container",
                        "is_presence": "false"
                      },
                      "properties": {
                        "property-list": {
                          "description": "FASTMAP service component instance data used by the\nservice implementation. (non-presence)",
                          "type": "object",
                          "x-yang": {
                            "type": "container",
                            "is_presence": "false"
                          },
                          "properties": {
                            "property": {
                              "type": "array",
                              "description": "(list)",
                              "x-yang": {
                                "type": "list"
                              },
                              "items": {
                                "type": "object",
                                "properties": {
                                  "name": {
                                    "description": "(leaf)",
                                    "x-yang": {
                                      "type": "leaf"
                                    },
                                    "type": "string",
                                    "format": "string"
                                  },
                                  "value": {
                                    "description": "(leaf)",
                                    "x-yang": {
                                      "type": "leaf"
                                    },
                                    "type": "string",
                                    "format": "string"
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    "back-track": {
                      "description": "(leaf)",
                      "x-yang": {
                        "type": "leaf"
                      },
                      "type": "string",
                      "format": "boolean"
                    },
                    "back-track-goal": {
                      "description": "(leaf)",
                      "x-yang": {
                        "type": "leaf"
                      },
                      "type": "string",
                      "format": "identityref"
                    },
                    "status-code": {
                      "description": "(leaf)",
                      "x-yang": {
                        "type": "leaf"
                      },
                      "type": "string",
                      "format": "string"
                    }
                  }
                }
              },
              "commit-queue": {
                "description": "(presence)",
                "type": "object",
                "x-yang": {
                  "type": "container",
                  "is_presence": "true"
                },
                "properties": {
                  "queue-item": {
                    "type": "array",
                    "description": "(list)",
                    "x-yang": {
                      "type": "list"
                    },
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "description": "If the queue item in the commit queue refers to this service\nthis is the queue number. (leaf)",
                          "x-yang": {
                            "type": "leaf"
                          },
                          "type": "integer",
                          "format": "uint64"
                        }
                      }
                    }
                  }
                }
              },
              "failed": {
                "description": "(leaf)",
                "x-yang": {
                  "type": "leaf"
                },
                "type": "string",
                "format": "[null]"
              },
              "error-info": {
                "description": "(presence)",
                "type": "object",
                "x-yang": {
                  "type": "container",
                  "is_presence": "true"
                },
                "properties": {
                  "message": {
                    "description": "An explanatory message for the failing plan. (leaf)",
                    "x-yang": {
                      "type": "leaf"
                    },
                    "type": "string",
                    "format": "string"
                  },
                  "log-entry": {
                    "description": "Reference to a service log entry with additional information. (leaf)",
                    "x-yang": {
                      "type": "leaf"
                    },
                    "type": "string",
                    "format": "instance-identifier"
                  }
                }
              },
              "deleting": {
                "description": "(leaf)",
                "x-yang": {
                  "type": "leaf"
                },
                "type": "string",
                "format": "[null]"
              },
              "service-location": {
                "description": "(leaf)",
                "x-yang": {
                  "type": "leaf"
                },
                "type": "string",
                "format": "instance-identifier"
              },
              "status-code-detail": {
                "type": "array",
                "description": "Status Codes (list)",
                "x-yang": {
                  "type": "list"
                },
                "items": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "description": "(leaf)",
                      "x-yang": {
                        "type": "leaf"
                      },
                      "type": "string",
                      "format": "identityref"
                    },
                    "name": {
                      "description": "(leaf)",
                      "x-yang": {
                        "type": "leaf"
                      },
                      "type": "string",
                      "format": "string"
                    },
                    "code": {
                      "description": "(leaf)",
                      "x-yang": {
                        "type": "leaf"
                      },
                      "type": "string",
                      "format": "string"
                    },
                    "context": {
                      "type": "array",
                      "description": "(list)",
                      "x-yang": {
                        "type": "list"
                      },
                      "items": {
                        "type": "object",
                        "properties": {
                          "context-name": {
                            "description": "(leaf)",
                            "x-yang": {
                              "type": "leaf"
                            },
                            "type": "string",
                            "format": "string"
                          },
                          "context-msg": {
                            "description": "(leaf)",
                            "x-yang": {
                              "type": "leaf"
                            },
                            "type": "string",
                            "format": "string"
                          }
                        }
                      }
                    },
                    "severity": {
                      "description": "(leaf)",
                      "x-yang": {
                        "type": "leaf"
                      },
                      "type": "string",
                      "format": "enumeration",
                      "default": "INFO",
                      "enum": [
                        "INFO",
                        "WARNING",
                        "ERROR",
                        "FATAL",
                        "NONE"
                      ]
                    },
                    "recommended-action": {
                      "description": "Recommended action to recover in case of error (leaf)",
                      "x-yang": {
                        "type": "leaf"
                      },
                      "type": "string",
                      "format": "string"
                    }
                  }
                }
              }
            }
          },
          "plan-history": {
            "description": "(non-presence)",
            "type": "object",
            "x-yang": {
              "type": "container",
              "is_presence": "false"
            },
            "properties": {
              "plan": {
                "type": "array",
                "description": "Every time the plan changes its structure, i.e., a\nplan component is added or deleted, or a state is added or\ndeleted in a plan component, a copy of the old plan is stored\nin the plan history list. (list)",
                "x-yang": {
                  "type": "list"
                },
                "items": {
                  "type": "object",
                  "properties": {
                    "time": {
                      "description": "(leaf)",
                      "x-yang": {
                        "type": "leaf"
                      },
                      "type": "string",
                      "format": "string"
                    },
                    "component": {
                      "type": "array",
                      "description": "A component has a type and a list of states.  It is required\nthat the first plan component is of type ncs:self.  It is\nalso required that the first state of a component is ncs:init\nand the last state is ncs:ready.  A service can in addition\nto the 'self' component have any number of components. These\nadditional components will have types that are defined by\nuser specified YANG identities. (list)",
                      "x-yang": {
                        "type": "list"
                      },
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "description": "(leaf)",
                            "x-yang": {
                              "type": "leaf"
                            },
                            "type": "string",
                            "format": "string"
                          },
                          "type": {
                            "description": "The plan component type is defined by an YANG identity.\nIt is used to identify the characteristics of a certain component.\nTherefore, if two components in the same service are of the same\ntype they should be identical with respect to number, type and order\nof their contained states. (leaf)",
                            "x-yang": {
                              "type": "leaf"
                            },
                            "type": "string",
                            "format": "identityref"
                          },
                          "state": {
                            "type": "array",
                            "description": "A plan state represents a certain step or stage that a service needs\nto execute and/or reach. It is identified as an YANG identity.\nThere are two predefined states ncs:init and ncs:ready which is the\nfirst respectively last state of a plan component. (list)",
                            "x-yang": {
                              "type": "list"
                            },
                            "items": {
                              "type": "object",
                              "properties": {
                                "name": {
                                  "description": "(leaf)",
                                  "x-yang": {
                                    "type": "leaf"
                                  },
                                  "type": "string",
                                  "format": "identityref"
                                },
                                "status": {
                                  "description": "A plan state is always in one of three states 'not-reached' when\nthe state has not been executed, 'reached' when the state has been\nexecuted and 'failed' it the state execution failed. (leaf)",
                                  "x-yang": {
                                    "type": "leaf"
                                  },
                                  "type": "string",
                                  "format": "enumeration",
                                  "default": "not-reached",
                                  "enum": [
                                    "not-reached",
                                    "reached",
                                    "failed"
                                  ]
                                },
                                "when": {
                                  "description": "The time this state was successfully reached or failed. (leaf)",
                                  "x-yang": {
                                    "type": "leaf"
                                  },
                                  "type": "string",
                                  "format": "string"
                                },
                                "service-reference": {
                                  "description": "If this component reflects the state of some other data, e.g\nan instantiated RFS, an instantiated CFS or something else, this\noptional field can be set to point to that instance (leaf)",
                                  "x-yang": {
                                    "type": "leaf"
                                  },
                                  "type": "string",
                                  "format": "instance-identifier"
                                },
                                "create-cb": {
                                  "description": "indicate if a create callback should be registered\nfor this state (leaf)",
                                  "x-yang": {
                                    "type": "leaf"
                                  },
                                  "type": "string",
                                  "format": "boolean"
                                },
                                "create-force-commit": {
                                  "description": "Indicate if the current transaction should be commited before\nrunning any later states. (leaf)",
                                  "x-yang": {
                                    "type": "leaf"
                                  },
                                  "type": "string",
                                  "format": "boolean"
                                },
                                "delete-cb": {
                                  "description": "indicate if a delete callback should be registered\nfor this state (leaf)",
                                  "x-yang": {
                                    "type": "leaf"
                                  },
                                  "type": "string",
                                  "format": "boolean"
                                },
                                "delete-force-commit": {
                                  "description": "Indicate if the current transaction should be commited before\nrunning any later states. (leaf)",
                                  "x-yang": {
                                    "type": "leaf"
                                  },
                                  "type": "string",
                                  "format": "boolean"
                                },
                                "pre-conditions": {
                                  "description": "Pre-conditions for a state controls whether or not a\nstate should be executed. There are separate conditions\nfor the 'create' and 'delete' case. At create the\ncreate conditions checked and if possible executed with\nthe ultimate goal for the state of having status\n'reached'. At the 'delete' case the delete conditions\ncontrol whether the state changes should be deleted\nwith the ultimate goal of the state having status\n'not-reached' (presence)",
                                  "type": "object",
                                  "x-yang": {
                                    "type": "container",
                                    "is_presence": "true"
                                  },
                                  "properties": {
                                    "create-monitor": {
                                      "description": "(leaf)",
                                      "x-yang": {
                                        "type": "leaf"
                                      },
                                      "type": "string",
                                      "format": "string"
                                    },
                                    "create-trigger-expr": {
                                      "description": "(leaf)",
                                      "x-yang": {
                                        "type": "leaf"
                                      },
                                      "type": "string",
                                      "format": "string"
                                    },
                                    "delete-monitor": {
                                      "description": "(leaf)",
                                      "x-yang": {
                                        "type": "leaf"
                                      },
                                      "type": "string",
                                      "format": "string"
                                    },
                                    "delete-trigger-expr": {
                                      "description": "(leaf)",
                                      "x-yang": {
                                        "type": "leaf"
                                      },
                                      "type": "string",
                                      "format": "string"
                                    }
                                  }
                                },
                                "post-actions": {
                                  "description": "Post-actions are called after successful execution of a\nstate.  These are optional and there are separate\naction that can be set for the 'create' and 'delete'\ncase respectively.\n\nThese actions are put as requests in the\nside-effect-queue and are executed asynchronously with\nrespect to the original service transaction. (presence)",
                                  "type": "object",
                                  "x-yang": {
                                    "type": "container",
                                    "is_presence": "true"
                                  },
                                  "properties": {
                                    "create-action-node": {
                                      "description": "This leaf identifies the node on which a specified\naction resides. This action is called after this state\nas got a 'reached' status. (leaf)",
                                      "x-yang": {
                                        "type": "leaf"
                                      },
                                      "type": "string",
                                      "format": "string"
                                    },
                                    "create-action-name": {
                                      "description": "The name of the action. (leaf)",
                                      "x-yang": {
                                        "type": "leaf"
                                      },
                                      "type": "string",
                                      "format": "string"
                                    },
                                    "create-action-result-expr": {
                                      "description": "An action responds with a structured result. A certain\nvalue could indicate an error or a successful result, e.g.\n'result true'.\n\nThis statement describes an XPath expression to\nevaluate the result of the action so that the\nside-effect-queue can indicate action errors.\n\nThe result of the expression is converted to a boolean using\nthe standard XPath rules.  If the result is 'true' the action\nis reported as successful, otherwise as failed.\n\nThe context for evaluating this expression is the\nresulting xml tree of the action.\n\nThe set of namespace declarations are all available namespaces,\nwith the prefixes defined in the modules. (leaf)",
                                      "x-yang": {
                                        "type": "leaf"
                                      },
                                      "type": "string",
                                      "format": "string"
                                    },
                                    "create-action-async": {
                                      "description": "(leaf)",
                                      "x-yang": {
                                        "type": "leaf"
                                      },
                                      "type": "string",
                                      "format": "[null]"
                                    },
                                    "delete-action-node": {
                                      "description": "This leaf identifies the node on which a specified\naction resides. This action is called after this state\nas got a 'not-reached' status. (leaf)",
                                      "x-yang": {
                                        "type": "leaf"
                                      },
                                      "type": "string",
                                      "format": "string"
                                    },
                                    "delete-action-name": {
                                      "description": "The name of the action. (leaf)",
                                      "x-yang": {
                                        "type": "leaf"
                                      },
                                      "type": "string",
                                      "format": "string"
                                    },
                                    "delete-action-result-expr": {
                                      "description": "An action responds with a structured result. A certain\nvalue could indicate an error or a successful result, e.g.\n'result true'.\n\nThis statement describes an XPath expression to evaluate the\nresult of the action so that the side-effect-queue can\nindicate action errors.\n\nThe result of the expression is converted to a boolean using\nthe standard XPath rules.  If the result is 'true' the action\nis reported as successful, otherwise as failed.\n\nThe context for evaluating this expression is the\nresulting xml tree of the action.\n\nThe set of namespace declarations are all available namespaces,\nwith the prefixes defined in the modules. (leaf)",
                                      "x-yang": {
                                        "type": "leaf"
                                      },
                                      "type": "string",
                                      "format": "string"
                                    },
                                    "delete-action-async": {
                                      "description": "(leaf)",
                                      "x-yang": {
                                        "type": "leaf"
                                      },
                                      "type": "string",
                                      "format": "[null]"
                                    }
                                  }
                                },
                                "post-action-status": {
                                  "description": "This leaf is initially set to 'not-reached'.\n\nIf a post-action was specified, and returned\nsuccessfully, this leaf will be set to 'create-reached'\nif the component is not back-tracking, and\n'delete-reached' if it is back-tracking.\n\nIf the post-action did not return successfully, this\nleaf is set to 'failed'. (leaf)",
                                  "x-yang": {
                                    "type": "leaf"
                                  },
                                  "type": "string",
                                  "format": "enumeration",
                                  "default": "not-reached",
                                  "enum": [
                                    "not-reached",
                                    "create-reached",
                                    "delete-reached",
                                    "failed",
                                    "create-init",
                                    "delete-init"
                                  ]
                                },
                                "modified": {
                                  "description": "Devices and other services this service has modified directly or\nindirectly (through another service). (non-presence)",
                                  "type": "object",
                                  "x-yang": {
                                    "type": "container",
                                    "is_presence": "false"
                                  },
                                  "properties": {
                                    "devices": {
                                      "type": "array",
                                      "x-yang": {
                                        "type": "leaf-list"
                                      },
                                      "items": {
                                        "description": "(leaf-list)",
                                        "type": "string",
                                        "format": "leafref"
                                      }
                                    },
                                    "services": {
                                      "type": "array",
                                      "x-yang": {
                                        "type": "leaf-list"
                                      },
                                      "items": {
                                        "description": "(leaf-list)",
                                        "type": "string",
                                        "format": "instance-identifier"
                                      }
                                    },
                                    "lsa-services": {
                                      "type": "array",
                                      "x-yang": {
                                        "type": "leaf-list"
                                      },
                                      "items": {
                                        "description": "(leaf-list)",
                                        "type": "string",
                                        "format": "instance-identifier"
                                      }
                                    }
                                  }
                                },
                                "directly-modified": {
                                  "description": "Devices and other services this service has explicitly\nmodified. (non-presence)",
                                  "type": "object",
                                  "x-yang": {
                                    "type": "container",
                                    "is_presence": "false"
                                  },
                                  "properties": {
                                    "devices": {
                                      "type": "array",
                                      "x-yang": {
                                        "type": "leaf-list"
                                      },
                                      "items": {
                                        "description": "(leaf-list)",
                                        "type": "string",
                                        "format": "leafref"
                                      }
                                    },
                                    "services": {
                                      "type": "array",
                                      "x-yang": {
                                        "type": "leaf-list"
                                      },
                                      "items": {
                                        "description": "(leaf-list)",
                                        "type": "string",
                                        "format": "instance-identifier"
                                      }
                                    },
                                    "lsa-services": {
                                      "type": "array",
                                      "x-yang": {
                                        "type": "leaf-list"
                                      },
                                      "items": {
                                        "description": "(leaf-list)",
                                        "type": "string",
                                        "format": "instance-identifier"
                                      }
                                    }
                                  }
                                },
                                "private": {
                                  "description": "NCS service related internal data stored here. (non-presence)",
                                  "type": "object",
                                  "x-yang": {
                                    "type": "container",
                                    "is_presence": "false"
                                  },
                                  "properties": {
                                    "diff-set": {
                                      "description": "Internal node use by NCS service manager to remember\nthe reverse diff for a service instance. This is the\ndata that is used by FASTMAP (leaf)",
                                      "x-yang": {
                                        "type": "leaf"
                                      },
                                      "type": "string",
                                      "format": "binary"
                                    },
                                    "forward-diff-set": {
                                      "description": "Internal node use by NCS service manager to remember\nthe forwards diff for a service instance. This data is\nis used to produce the proper 'get-modifications' output (leaf)",
                                      "x-yang": {
                                        "type": "leaf"
                                      },
                                      "type": "string",
                                      "format": "binary"
                                    },
                                    "device-list": {
                                      "type": "array",
                                      "x-yang": {
                                        "type": "leaf-list"
                                      },
                                      "items": {
                                        "description": "A list of managed devices this state has manipulated. (leaf-list)",
                                        "type": "string",
                                        "format": "string"
                                      }
                                    },
                                    "ned-id-list": {
                                      "type": "array",
                                      "x-yang": {
                                        "type": "leaf-list"
                                      },
                                      "items": {
                                        "description": "A list of NED identities this service instance has\nmanipulated. (leaf-list)",
                                        "type": "string",
                                        "format": "string"
                                      }
                                    },
                                    "service-list": {
                                      "type": "array",
                                      "x-yang": {
                                        "type": "leaf-list"
                                      },
                                      "items": {
                                        "description": "A list of services this state has manipulated. (leaf-list)",
                                        "type": "string",
                                        "format": "instance-identifier"
                                      }
                                    },
                                    "lsa-service-list": {
                                      "type": "array",
                                      "x-yang": {
                                        "type": "leaf-list"
                                      },
                                      "items": {
                                        "description": "A list of LSA services this service instance has manipulated. (leaf-list)",
                                        "type": "string",
                                        "format": "instance-identifier"
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          },
                          "private": {
                            "description": "NCS service related internal data stored here. (non-presence)",
                            "type": "object",
                            "x-yang": {
                              "type": "container",
                              "is_presence": "false"
                            },
                            "properties": {
                              "property-list": {
                                "description": "FASTMAP service component instance data used by the\nservice implementation. (non-presence)",
                                "type": "object",
                                "x-yang": {
                                  "type": "container",
                                  "is_presence": "false"
                                },
                                "properties": {
                                  "property": {
                                    "type": "array",
                                    "description": "(list)",
                                    "x-yang": {
                                      "type": "list"
                                    },
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "name": {
                                          "description": "(leaf)",
                                          "x-yang": {
                                            "type": "leaf"
                                          },
                                          "type": "string",
                                          "format": "string"
                                        },
                                        "value": {
                                          "description": "(leaf)",
                                          "x-yang": {
                                            "type": "leaf"
                                          },
                                          "type": "string",
                                          "format": "string"
                                        }
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          },
                          "back-track": {
                            "description": "(leaf)",
                            "x-yang": {
                              "type": "leaf"
                            },
                            "type": "string",
                            "format": "boolean"
                          },
                          "back-track-goal": {
                            "description": "(leaf)",
                            "x-yang": {
                              "type": "leaf"
                            },
                            "type": "string",
                            "format": "identityref"
                          },
                          "status-code": {
                            "description": "(leaf)",
                            "x-yang": {
                              "type": "leaf"
                            },
                            "type": "string",
                            "format": "string"
                          }
                        }
                      }
                    }
                  }
                }
              },
              "status-code-detail": {
                "type": "array",
                "description": "Status Codes (list)",
                "x-yang": {
                  "type": "list"
                },
                "items": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "description": "(leaf)",
                      "x-yang": {
                        "type": "leaf"
                      },
                      "type": "string",
                      "format": "identityref"
                    },
                    "name": {
                      "description": "(leaf)",
                      "x-yang": {
                        "type": "leaf"
                      },
                      "type": "string",
                      "format": "string"
                    },
                    "code": {
                      "description": "(leaf)",
                      "x-yang": {
                        "type": "leaf"
                      },
                      "type": "string",
                      "format": "string"
                    },
                    "context": {
                      "type": "array",
                      "description": "(list)",
                      "x-yang": {
                        "type": "list"
                      },
                      "items": {
                        "type": "object",
                        "properties": {
                          "context-name": {
                            "description": "(leaf)",
                            "x-yang": {
                              "type": "leaf"
                            },
                            "type": "string",
                            "format": "string"
                          },
                          "context-msg": {
                            "description": "(leaf)",
                            "x-yang": {
                              "type": "leaf"
                            },
                            "type": "string",
                            "format": "string"
                          }
                        }
                      }
                    },
                    "severity": {
                      "description": "(leaf)",
                      "x-yang": {
                        "type": "leaf"
                      },
                      "type": "string",
                      "format": "enumeration",
                      "default": "INFO",
                      "enum": [
                        "INFO",
                        "WARNING",
                        "ERROR",
                        "FATAL",
                        "NONE"
                      ]
                    },
                    "recommended-action": {
                      "description": "Recommended action to recover in case of error (leaf)",
                      "x-yang": {
                        "type": "leaf"
                      },
                      "type": "string",
                      "format": "string"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}