{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/intersight/json-schema/intersight-niaapi-nia-metadata-schema.json",
  "title": "Niaapi:Nia Metadata",
  "description": "The NiaMetadata object is a key element in metadata management, providing structured information about the latest metadata files available for download. It aids users in accessing up-to-date metadata efficiently.\n#### Purpose\nNiaMetadata offers comprehensive details about metadata packages, including versioning and checksum information. It is essential for users to access and verify the integrity of metadata files.\n#### Key Concepts\n- **Metadata Management:** Facilitates the download and verification of metadata files, ensuring users have access to accurate information.\n- **Versioning and Integrity:** Provides version numbers and checksums for metadata files, supporting integrity verification.\n- **Structured Access:** Ensures users can efficiently access and utilize metadata in their systems.",
  "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.NiaMetadata",
  "x-allOf-name": "niaapi.NiaMetadata",
  "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.NiaMetadata', 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.NiaMetadata"
          ],
          "default": "niaapi.NiaMetadata",
          "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.NiaMetadata"
          ],
          "default": "niaapi.NiaMetadata",
          "x-enum-as-string": true
        },
        "Content": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "description": "The detail of child file in this package.",
            "$ref": "#/$defs/niaapi.Detail",
            "x-omitempty": true
          }
        },
        "Date": {
          "description": "The date when this package is 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 this 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
            }
          }
        }
      ]
    }
  }
}