{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-integration-services/json-schema/microsoft-azure-integration-services-topic-type-info-schema.json",
  "title": "TopicTypeInfo",
  "description": "Properties of a topic type info.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-integration-services-topictypes-api-openapi.yml#/components/schemas/TopicTypeInfo",
  "type": "object",
  "allOf": [
    {
      "$ref": "#/$defs/Resource"
    }
  ],
  "properties": {
    "properties": {
      "$ref": "#/$defs/TopicTypeProperties",
      "description": "Properties of the topic type info",
      "x-ms-client-flatten": true
    }
  },
  "$defs": {
    "Resource": {
      "description": "Definition of a Resource.",
      "type": "object",
      "properties": {
        "id": {
          "description": "Fully qualified identifier of the resource.",
          "type": "string",
          "readOnly": true
        },
        "name": {
          "description": "Name of the resource.",
          "type": "string",
          "readOnly": true
        },
        "type": {
          "description": "Type of the resource.",
          "type": "string",
          "readOnly": true
        }
      },
      "x-ms-azure-resource": true
    },
    "TopicTypeAdditionalEnforcedPermission": {
      "type": "object",
      "properties": {
        "permissionName": {
          "type": "string"
        },
        "isDataAction": {
          "type": "boolean"
        }
      }
    },
    "TopicTypeProperties": {
      "description": "Properties of a topic type.",
      "type": "object",
      "properties": {
        "provider": {
          "description": "Namespace of the provider of the topic type.",
          "type": "string"
        },
        "displayName": {
          "description": "Display Name for the topic type.",
          "type": "string"
        },
        "description": {
          "description": "Description of the topic type.",
          "type": "string"
        },
        "resourceRegionType": {
          "description": "Region type of the resource.",
          "enum": [
            "RegionalResource",
            "GlobalResource"
          ],
          "type": "string",
          "x-ms-enum": {
            "name": "ResourceRegionType",
            "modelAsString": true
          }
        },
        "provisioningState": {
          "description": "Provisioning state of the topic type.",
          "enum": [
            "Creating",
            "Updating",
            "Deleting",
            "Succeeded",
            "Canceled",
            "Failed"
          ],
          "type": "string",
          "x-ms-enum": {
            "name": "TopicTypeProvisioningState",
            "modelAsString": true
          }
        },
        "supportedLocations": {
          "description": "List of locations supported by this topic type.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "sourceResourceFormat": {
          "description": "Source resource format.",
          "type": "string"
        },
        "supportedScopesForSource": {
          "description": "Supported source scopes.",
          "type": "array",
          "items": {
            "enum": [
              "Resource",
              "ResourceGroup",
              "AzureSubscription",
              "ManagementGroup"
            ],
            "type": "string",
            "x-ms-enum": {
              "name": "TopicTypeSourceScope",
              "modelAsString": true
            }
          }
        },
        "areRegionalAndGlobalSourcesSupported": {
          "description": "Flag to indicate that a topic type can support both regional or global system topics.",
          "type": "boolean"
        },
        "additionalEnforcedPermissions": {
          "description": "Permissions which are enforced for creating and updating system topics of this this topic type.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/TopicTypeAdditionalEnforcedPermission"
          },
          "x-ms-identifiers": []
        }
      }
    }
  }
}