{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure/json-schema/microsoft-azure-provider-operations-metadata-schema.json",
  "title": "ProviderOperationsMetadata",
  "description": "Provider Operations metadata",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-provideroperationsmetadata-api-openapi.yml#/components/schemas/ProviderOperationsMetadata",
  "type": "object",
  "properties": {
    "displayName": {
      "type": "string",
      "description": "The provider display name."
    },
    "resourceTypes": {
      "type": "array",
      "description": "The provider resource types",
      "items": {
        "$ref": "#/$defs/ResourceType"
      },
      "x-ms-identifiers": [
        "name"
      ]
    },
    "operations": {
      "type": "array",
      "description": "The provider operations.",
      "items": {
        "$ref": "#/$defs/ProviderOperation"
      },
      "x-ms-identifiers": []
    }
  },
  "allOf": [
    {
      "$ref": "#/$defs/SettableResource"
    }
  ],
  "$defs": {
    "ProviderOperation": {
      "type": "object",
      "description": "Operation",
      "properties": {
        "name": {
          "type": "string",
          "description": "The operation name."
        },
        "displayName": {
          "type": "string",
          "description": "The operation display name."
        },
        "description": {
          "type": "string",
          "description": "The operation description."
        },
        "origin": {
          "type": "string",
          "description": "The operation origin."
        },
        "properties": {
          "description": "The operation properties.",
          "x-ms-client-flatten": true
        },
        "isDataAction": {
          "type": "boolean",
          "description": "The dataAction flag to specify the operation type."
        }
      }
    },
    "ResourceType": {
      "type": "object",
      "description": "Resource Type",
      "properties": {
        "name": {
          "type": "string",
          "description": "The resource type name."
        },
        "displayName": {
          "type": "string",
          "description": "The resource type display name."
        },
        "operations": {
          "type": "array",
          "description": "The resource type operations.",
          "items": {
            "$ref": "#/$defs/ProviderOperation"
          },
          "x-ms-identifiers": []
        }
      }
    },
    "SettableResource": {
      "type": "object",
      "description": "The resource model definition for resource.",
      "properties": {
        "id": {
          "type": "string",
          "description": "The provider ID."
        },
        "name": {
          "type": "string",
          "description": "The provider name."
        },
        "type": {
          "type": "string",
          "description": "The provider type."
        }
      }
    }
  }
}