{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/azure-networking-services/refs/heads/main/json-schema/azure-networking-services-service-delegation-properties-format-schema.json",
  "title": "ServiceDelegationPropertiesFormat",
  "description": "Properties of a service delegation.",
  "properties": {
    "actions": {
      "description": "Describes the actions permitted to the service upon delegation.",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "provisioningState": {
      "description": "The current provisioning state.",
      "enum": [
        "Succeeded",
        "Updating",
        "Deleting",
        "Failed"
      ],
      "readOnly": true,
      "type": "string",
      "x-ms-enum": {
        "modelAsString": true,
        "name": "ProvisioningState"
      }
    },
    "serviceName": {
      "description": "The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers).",
      "type": "string"
    }
  },
  "type": "object"
}