{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/InstanceMapping",
  "title": "InstanceMapping",
  "type": "object",
  "description": "An instance mapping that associates an SAP HANA Cloud service instance with a target in another subaccount or environment.",
  "properties": {
    "mappingId": {
      "type": "string",
      "format": "uuid",
      "description": "The unique identifier of the instance mapping.",
      "example": "500123"
    },
    "serviceInstanceId": {
      "type": "string",
      "format": "uuid",
      "description": "The source service instance identifier.",
      "example": "500123"
    },
    "targetSubaccountId": {
      "type": "string",
      "description": "The target subaccount identifier.",
      "example": "500123"
    },
    "targetEnvironmentInstanceId": {
      "type": "string",
      "description": "The target environment instance identifier.",
      "example": "500123"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "ISO 8601 timestamp when the mapping was created.",
      "example": "2026-01-15T10:30:00Z"
    }
  }
}