{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-synapse-analytics/json-schema/microsoft-azure-synapse-analytics-mdentity-schema.json",
  "title": "MDEntity",
  "description": "MD Entity",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-synapse-analytics-databases-api-openapi.yml#/components/schemas/MDEntity",
  "type": "object",
  "properties": {
    "name": {
      "description": "Entity Name.",
      "type": "string"
    },
    "type": {
      "$ref": "#/$defs/ArtifactType"
    },
    "id": {
      "description": "Entity Resource Id.",
      "type": "string",
      "readOnly": true
    },
    "properties": {
      "type": "object"
    }
  },
  "required": [
    "name",
    "type"
  ],
  "$defs": {
    "ArtifactType": {
      "description": "Artifact type.",
      "type": "string",
      "enum": [
        "DATABASE",
        "TABLE",
        "SCHEMA",
        "VIEW",
        "FUNCTION",
        "PARTITIONINFO",
        "RELATIONSHIP"
      ],
      "x-ms-enum": {
        "name": "SASEntityType",
        "modelAsString": false
      }
    }
  }
}