{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/intersight/json-schema/intersight-niaapi-version-regex-schema.json",
  "title": "Niaapi:Version Regex",
  "description": "The VersionRegex object is integral to software version management, providing regular expression patterns for recognizing version strings. It is crucial for parsing and managing software versions efficiently.\n#### Purpose\nVersionRegex provides regular expression patterns to parse software version strings, ensuring users can accurately identify and manage software releases. It supports efficient version control and management.\n#### Key Concepts\n- **Regex Patterns:** Offers regular expressions for parsing version strings, aiding users in managing software versions.\n- **Version Identification:** Facilitates accurate recognition of software releases, supporting effective version control.\n- **System Integration:** Ensures compatibility with systems for seamless version parsing and management.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/intersight-niaapi-api-openapi.yml#/components/schemas/niaapi.VersionRegex",
  "x-allOf-name": "niaapi.VersionRegex",
  "allOf": [
    {
      "$ref": "intersight-system-v3-1.0.11-20260807064027971.json#/components/schemas/mo.BaseMo"
    },
    {
      "type": "object",
      "description": "Definition of the list of properties defined in 'niaapi.VersionRegex', excluding properties defined in parent classes.",
      "required": [
        "ClassId",
        "ObjectType"
      ],
      "properties": {
        "ClassId": {
          "description": "The fully-qualified name of the instantiated, concrete type.\nThis property is used as a discriminator to identify the type of the payload\nwhen marshaling and unmarshaling data.",
          "enum": [
            "niaapi.VersionRegex"
          ],
          "default": "niaapi.VersionRegex",
          "x-enum-as-string": true
        },
        "ObjectType": {
          "description": "The fully-qualified name of the instantiated, concrete type.\nThe value should be the same as the 'ClassId' property.",
          "enum": [
            "niaapi.VersionRegex"
          ],
          "default": "niaapi.VersionRegex",
          "x-enum-as-string": true
        },
        "Apic": {
          "description": "Version Regex mapping for APIC platform.",
          "$ref": "#/$defs/niaapi.VersionRegexPlatform",
          "x-omitempty": true
        },
        "Dcnm": {
          "description": "Version Regex mapping for DCNM platform.",
          "$ref": "#/$defs/niaapi.VersionRegexPlatform",
          "x-omitempty": true
        },
        "Version": {
          "description": "Version number for the Version Regex data, also used as identity.",
          "type": "string",
          "x-omitempty": true
        }
      }
    }
  ],
  "$defs": {
    "niaapi.SoftwareRegex": {
      "title": "Niaapi:Software Regex",
      "description": "The regular expression to parse the software version strings.",
      "x-allOf-name": "niaapi.SoftwareRegex",
      "allOf": [
        {
          "$ref": "intersight-system-v3-1.0.11-20260807064027971.json#/components/schemas/mo.BaseComplexType"
        },
        {
          "type": "object",
          "description": "Definition of the list of properties defined in 'niaapi.SoftwareRegex', excluding properties defined in parent classes.",
          "required": [
            "ClassId",
            "ObjectType"
          ],
          "properties": {
            "ClassId": {
              "description": "The fully-qualified name of the instantiated, concrete type.\nThis property is used as a discriminator to identify the type of the payload\nwhen marshaling and unmarshaling data.",
              "enum": [
                "niaapi.SoftwareRegex"
              ],
              "default": "niaapi.SoftwareRegex",
              "x-enum-as-string": true
            },
            "ObjectType": {
              "description": "The fully-qualified name of the instantiated, concrete type.\nThe value should be the same as the 'ClassId' property.",
              "enum": [
                "niaapi.SoftwareRegex"
              ],
              "default": "niaapi.SoftwareRegex",
              "x-enum-as-string": true
            },
            "Regex": {
              "description": "Regular Expression pattern used to reconginze the version string.",
              "type": "string",
              "x-omitempty": true
            },
            "SoftwareVersion": {
              "description": "Software release. A set of Software releases seperated by comma which can be recongized by according Regex pattern.",
              "type": "string",
              "x-omitempty": true
            }
          }
        }
      ]
    },
    "niaapi.VersionRegexPlatform": {
      "title": "Niaapi:Version Regex Platform",
      "description": "The regular expression to parse the software version strings for specific platform.",
      "x-allOf-name": "niaapi.VersionRegexPlatform",
      "allOf": [
        {
          "$ref": "intersight-system-v3-1.0.11-20260807064027971.json#/components/schemas/mo.BaseComplexType"
        },
        {
          "type": "object",
          "description": "Definition of the list of properties defined in 'niaapi.VersionRegexPlatform', excluding properties defined in parent classes.",
          "required": [
            "ClassId",
            "ObjectType"
          ],
          "properties": {
            "ClassId": {
              "description": "The fully-qualified name of the instantiated, concrete type.\nThis property is used as a discriminator to identify the type of the payload\nwhen marshaling and unmarshaling data.",
              "enum": [
                "niaapi.VersionRegexPlatform"
              ],
              "default": "niaapi.VersionRegexPlatform",
              "x-enum-as-string": true
            },
            "ObjectType": {
              "description": "The fully-qualified name of the instantiated, concrete type.\nThe value should be the same as the 'ClassId' property.",
              "enum": [
                "niaapi.VersionRegexPlatform"
              ],
              "default": "niaapi.VersionRegexPlatform",
              "x-enum-as-string": true
            },
            "Anyllregex": {
              "description": "All long live version Regex pattern.",
              "type": "string",
              "x-omitempty": true
            },
            "Currentlltrain": {
              "description": "Current long live version Regex pattern.",
              "$ref": "#/$defs/niaapi.SoftwareRegex",
              "x-omitempty": true
            },
            "Latestsltrain": {
              "description": "Latest short live version Regex pattern.",
              "$ref": "#/$defs/niaapi.SoftwareRegex",
              "x-omitempty": true
            },
            "Sltrain": {
              "type": [
                "array",
                "null"
              ],
              "items": {
                "description": "List of short lived verison and Regex pattern.",
                "$ref": "#/$defs/niaapi.SoftwareRegex",
                "x-omitempty": true
              }
            },
            "Upcominglltrain": {
              "description": "Upcoming short live version Regex pattern.",
              "$ref": "#/$defs/niaapi.SoftwareRegex",
              "x-omitempty": true
            }
          }
        }
      ]
    }
  }
}