{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/harness/main/json-schema/harness-iacm-resource-cost-request-schema.json", "title": "IacmResourceCostRequest", "description": "Request to get costs for IaCM-managed cloud resources", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/harness-cost-details-api-openapi.yml#/components/schemas/IacmResourceCostRequest", "required": [ "resources" ], "type": "object", "properties": { "resources": { "type": "array", "description": "List of IaCM resources to query costs for", "items": { "$ref": "#/$defs/IacmCostResource" } } }, "$defs": { "IacmCostResource": { "required": [ "provider", "resourceId", "type" ], "type": "object", "properties": { "provider": { "type": "string", "description": "Terraform provider (e.g., registry.terraform.io/hashicorp/aws)" }, "type": { "type": "string", "description": "Terraform resource type (e.g., aws_instance, azurerm_linux_virtual_machine)" }, "resourceId": { "type": "string", "description": "Cloud-native resource identifier (ARN for AWS, FQN for Azure, GRN for GCP)" } }, "description": "An IaCM-managed cloud resource for cost lookup" } } }