{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-synapse-analytics/json-schema/microsoft-azure-synapse-analytics-library-resource-schema.json",
  "title": "LibraryResource",
  "description": "Library response details",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-synapse-analytics-libraries-api-openapi.yml#/components/schemas/LibraryResource",
  "allOf": [
    {
      "$ref": "#/$defs/SubResource"
    }
  ],
  "properties": {
    "properties": {
      "$ref": "#/$defs/LibraryInfo",
      "description": "Library/package properties.",
      "x-ms-client-flatten": true
    }
  },
  "required": [
    "properties"
  ],
  "$defs": {
    "AzureEntityResource": {
      "x-ms-client-name": "AzureEntityResource",
      "title": "Entity Resource",
      "description": "The resource model definition for an Azure Resource Manager resource with an etag.",
      "type": "object",
      "properties": {
        "etag": {
          "type": "string",
          "readOnly": true,
          "description": "Resource Etag."
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/Resource"
        }
      ]
    },
    "LibraryInfo": {
      "type": "object",
      "description": "Library/package information of a Big Data pool powered by Apache Spark",
      "title": "Information about a library/package created at the workspace level.",
      "properties": {
        "name": {
          "type": "string",
          "description": "Name of the library."
        },
        "path": {
          "type": "string",
          "description": "Storage blob path of library."
        },
        "containerName": {
          "type": "string",
          "description": "Storage blob container name."
        },
        "uploadedTimestamp": {
          "type": "string",
          "format": "date-time",
          "description": "The last update time of the library.",
          "readOnly": true
        },
        "type": {
          "type": "string",
          "description": "Type of the library."
        },
        "provisioningStatus": {
          "readOnly": true,
          "type": "string",
          "description": "Provisioning status of the library/package."
        },
        "creatorId": {
          "readOnly": true,
          "type": "string",
          "description": "Creator Id of the library/package."
        }
      }
    },
    "SubResource": {
      "description": "Azure Synapse nested resource, which belongs to a workspace.",
      "allOf": [
        {
          "$ref": "#/$defs/AzureEntityResource"
        }
      ]
    }
  }
}