{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-purview/json-schema/microsoft-purview-data-product-schema.json",
  "title": "DataProduct",
  "description": "A data product in the unified catalog",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-purview-data-products-api-openapi.yml#/components/schemas/DataProduct",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "businessDomainId": {
      "type": "string"
    },
    "owners": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/GovernanceContact"
      }
    },
    "status": {
      "type": "string",
      "enum": [
        "Draft",
        "Published",
        "Expired"
      ]
    },
    "dataAssets": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "assetId": {
            "type": "string"
          },
          "assetType": {
            "type": "string"
          }
        }
      }
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "$defs": {
    "GovernanceContact": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "displayName": {
          "type": "string"
        },
        "mail": {
          "type": "string",
          "format": "email"
        }
      }
    }
  }
}