{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/dynatrace/refs/heads/main/json-schema/entities-api-v2-entity-type-relationship-schema.json",
  "title": "EntityTypeRelationship",
  "description": "Describes a relationship type for an entity type.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The relationship type identifier, e.g., runsOn.",
      "example": "abc123"
    },
    "toTypes": {
      "type": "array",
      "description": "The entity types that can participate in this relationship.",
      "items": {
        "type": "string"
      },
      "example": [
        "STANDARD"
      ]
    }
  }
}