{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-cognitive-services/json-schema/microsoft-cognitive-services-rai-topic-result-schema.json",
  "title": "RaiTopicResult",
  "description": "The list of cognitive services RAI Topics.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/microsoft-cognitive-services-raitopics-api-openapi.yml#/components/schemas/RaiTopicResult",
  "type": "object",
  "properties": {
    "nextLink": {
      "type": "string",
      "description": "The link used to get the next page of RaiTopics."
    },
    "value": {
      "type": "array",
      "description": "The list of RaiTopic.",
      "items": {
        "$ref": "#/$defs/RaiTopic"
      },
      "x-ms-identifiers": [
        "name"
      ]
    }
  },
  "$defs": {
    "RaiTopic": {
      "type": "object",
      "description": "Cognitive Services Rai Topic.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/RaiTopicProperties",
          "description": "Properties of Cognitive Services Rai Topic."
        },
        "etag": {
          "type": "string",
          "description": "Resource Etag.",
          "readOnly": true
        },
        "tags": {
          "type": "object",
          "description": "Resource tags.",
          "additionalProperties": {
            "type": "string"
          },
          "x-ms-mutability": [
            "read",
            "update",
            "create"
          ]
        }
      },
      "allOf": [
        {
          "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
        }
      ]
    },
    "RaiTopicProperties": {
      "type": "object",
      "description": "RAI Custom Topic properties.",
      "properties": {
        "topicId": {
          "type": "string",
          "description": "The unique identifier of the custom topic."
        },
        "topicName": {
          "type": "string",
          "description": "The name of the custom topic."
        },
        "description": {
          "type": "string",
          "description": "Description of the custom topic."
        },
        "sampleBlobUrl": {
          "type": "string",
          "description": "Sample blob url for the custom topic."
        },
        "status": {
          "type": "string",
          "description": "Status of the custom topic."
        },
        "failedReason": {
          "type": "string",
          "description": "Failed reason if the status is Failed."
        },
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "Creation time of the custom topic."
        },
        "lastModifiedAt": {
          "type": "string",
          "format": "date-time",
          "description": "Last modified time of the custom topic."
        }
      }
    }
  }
}