{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fedex/json-schema/fedex-update-subscription-output-vo-schema.json",
  "title": "UpdateSubscriptionOutputVO",
  "description": "Response with subscriptionId",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fedex-account-number-subscription-api-openapi.yml#/components/schemas/UpdateSubscriptionOutputVO",
  "type": "object",
  "properties": {
    "output": {
      "$ref": "#/$defs/UpdateSubscriptionOutputVO_output"
    }
  },
  "allOf": [
    {
      "$ref": "#/$defs/NSMCResponseVO"
    }
  ],
  "$defs": {
    "Alert": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string",
          "description": "Specifies the api alert code."
        },
        "alertType": {
          "type": "string",
          "description": "Specifies the api alert type.",
          "enum": [
            "NOTE",
            "WARNING"
          ]
        },
        "parameterList": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Parameter"
          }
        },
        "message": {
          "type": "string",
          "description": "Specifies the api alert message."
        }
      },
      "description": "Specifies the api alerts."
    },
    "AlertsVO": {
      "type": "object",
      "properties": {
        "alerts": {
          "type": "array",
          "description": "specifies the alert",
          "items": {
            "$ref": "#/$defs/Alert"
          }
        }
      }
    },
    "NSMCResponseVO": {
      "type": "object",
      "properties": {
        "transactionId": {
          "type": "string",
          "description": "The transaction ID is a special set of numbers that defines each transaction."
        },
        "customerTransactionId": {
          "type": "string",
          "description": "This element allows you to assign a unique identifier to your transaction. This element is also returned in the reply and helps you match the request to the reply."
        },
        "output": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/$defs/AlertsVO"
            }
          ]
        }
      },
      "description": "This is a wrapper class for outputVO. Adding transactionID and customerTransactionID."
    },
    "Parameter": {
      "type": "object",
      "properties": {
        "value": {
          "type": "string",
          "description": "Indicates the value associated with the key."
        },
        "key": {
          "type": "string",
          "description": "Identifies the error option to be applied."
        }
      },
      "description": "Parameter is a class having key-value pair."
    },
    "UpdateSubscriptionOutputVO_output": {
      "properties": {
        "subscriptionId": {
          "type": "integer",
          "description": "Unique identifier for the Created subscription"
        },
        "modifiedTimeStamp": {
          "type": "string",
          "description": "The last modified timestamp for the updated subscription"
        },
        "subscribeAllAccounts": {
          "type": "boolean",
          "description": "Indicates subscription has been created with all accounts associated with their organization."
        },
        "subscriptionName": {
          "type": "string",
          "description": "Name of the subscription"
        }
      }
    }
  }
}