{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/intersight/json-schema/intersight-niaapi-nib-metadata-schema.json",
  "title": "Niaapi:Nib Metadata",
  "description": "The NibMetadata object is central to metadata management, offering detailed information about downloadable metadata packages. It supports users in accessing and verifying metadata for their systems.\n#### Purpose\nNibMetadata provides structured details about metadata files, including versioning and checksum data. It is crucial for ensuring users have access to reliable and verified metadata information.\n#### Key Concepts\n- **Metadata Accessibility:** Supports the efficient download and verification of metadata files, ensuring users have reliable data.\n- **Integrity Assurance:** Offers version numbers and checksum information, aiding users in verifying metadata integrity.\n- **Version Management:** Facilitates access to up-to-date metadata versions, promoting system accuracy and reliability.",
  "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.NibMetadata",
  "x-allOf-name": "niaapi.NibMetadata",
  "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.NibMetadata', 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.NibMetadata"
          ],
          "default": "niaapi.NibMetadata",
          "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.NibMetadata"
          ],
          "default": "niaapi.NibMetadata",
          "x-enum-as-string": true
        },
        "Content": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "description": "The detail of the child file in this package.",
            "$ref": "#/$defs/niaapi.Detail",
            "x-omitempty": true
          }
        },
        "Date": {
          "description": "The date when the package was generated.",
          "type": "string",
          "format": "date-time",
          "x-omitempty": true
        },
        "MetadataChksum": {
          "description": "Chksum used to check the integrity of the metadata file downloaded.",
          "type": "string",
          "x-omitempty": true
        },
        "MetadataFilename": {
          "description": "The filename of the metadata package.",
          "type": "string",
          "x-omitempty": true
        },
        "Version": {
          "description": "The version number of the metadata package.",
          "type": "integer",
          "format": "int64",
          "x-omitempty": true
        }
      }
    }
  ],
  "$defs": {
    "niaapi.Detail": {
      "title": "Niaapi:Detail",
      "description": "The content inside the metadata package with filename and check sum for this file.",
      "x-allOf-name": "niaapi.Detail",
      "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.Detail', 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.Detail"
              ],
              "default": "niaapi.Detail",
              "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.Detail"
              ],
              "default": "niaapi.Detail",
              "x-enum-as-string": true
            },
            "Chksum": {
              "description": "Checksum of this part of Content.",
              "type": "string",
              "x-omitempty": true
            },
            "Filename": {
              "description": "The file name within this Metadata file.",
              "type": "string",
              "x-omitempty": true
            },
            "Name": {
              "description": "The name of this Content.",
              "type": "string",
              "x-omitempty": true
            }
          }
        }
      ]
    }
  }
}