{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure/json-schema/microsoft-azure-billing-account-policies-response-schema.json",
  "title": "BillingAccountPoliciesResponse",
  "description": "Billing account policies information.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-providers-api-openapi.yml#/components/schemas/BillingAccountPoliciesResponse",
  "type": "object",
  "properties": {
    "id": {
      "description": "Fully qualified ID for the policy.",
      "readOnly": true,
      "type": "string"
    },
    "name": {
      "description": "Policy name.",
      "readOnly": true,
      "type": "string"
    },
    "type": {
      "description": "Resource type.",
      "readOnly": true,
      "type": "string"
    },
    "properties": {
      "$ref": "#/$defs/BillingAccountPoliciesResponseProperties",
      "description": "Billing account policies response properties."
    },
    "systemData": {
      "$ref": "#/$defs/systemData",
      "readOnly": true
    }
  },
  "x-ms-azure-resource": true,
  "$defs": {
    "BillingAccountPoliciesResponseProperties": {
      "description": "Put billing account policies response properties.",
      "type": "object",
      "properties": {
        "serviceTenants": {
          "description": "Service tenant for the billing account.",
          "type": "array",
          "items": {
            "type": "object",
            "$ref": "#/$defs/ServiceTenantResponse",
            "description": "Billing account service tenant."
          }
        },
        "allowTransfers": {
          "description": "Determine if the transfers are allowed for the billing account",
          "type": "boolean"
        }
      }
    },
    "ServiceTenantResponse": {
      "description": "Billing account service tenant.",
      "type": "object",
      "properties": {
        "tenantId": {
          "description": "Service tenant id.",
          "type": "string"
        },
        "tenantName": {
          "description": "Service tenant name.",
          "type": "string"
        }
      }
    },
    "systemData": {
      "description": "Metadata pertaining to creation and last modification of the resource.",
      "type": "object",
      "readOnly": true,
      "properties": {
        "createdBy": {
          "type": "string",
          "description": "The identity that created the resource."
        },
        "createdByType": {
          "type": "string",
          "description": "The type of identity that created the resource.",
          "enum": [
            "User",
            "Application",
            "ManagedIdentity",
            "Key"
          ],
          "x-ms-enum": {
            "name": "createdByType",
            "modelAsString": true
          }
        },
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp of resource creation (UTC)."
        },
        "lastModifiedBy": {
          "type": "string",
          "description": "The identity that last modified the resource."
        },
        "lastModifiedByType": {
          "type": "string",
          "description": "The type of identity that last modified the resource.",
          "enum": [
            "User",
            "Application",
            "ManagedIdentity",
            "Key"
          ],
          "x-ms-enum": {
            "name": "createdByType",
            "modelAsString": true
          }
        },
        "lastModifiedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp of resource last modification (UTC)"
        }
      }
    }
  }
}