---
title: "GeneratedContent.Kind.structure(properties:orderedKeys:)"
framework: foundationmodels
role: symbol
role_heading: Case
path: "foundationmodels/generatedcontent/kind-swift.enum/structure(properties:orderedkeys:)"
---

# GeneratedContent.Kind.structure(properties:orderedKeys:)

Represents a structured object with key-value pairs.

## Declaration

```swift
case structure(properties: [String : GeneratedContent], orderedKeys: [String])
```

## Parameters

- `properties`: A dictionary mapping string keys to doc://com.apple.foundationmodels/documentation/FoundationModels/GeneratedContent values.
- `orderedKeys`: An array of keys that specifies the order of properties.

## See Also

### Getting the kind of content

- [GeneratedContent.Kind.array(_:)](foundationmodels/generatedcontent/kind-swift.enum/array(_:).md)
- [GeneratedContent.Kind.bool(_:)](foundationmodels/generatedcontent/kind-swift.enum/bool(_:).md)
- [GeneratedContent.Kind.null](foundationmodels/generatedcontent/kind-swift.enum/null.md)
- [GeneratedContent.Kind.number(_:)](foundationmodels/generatedcontent/kind-swift.enum/number(_:).md)
- [GeneratedContent.Kind.string(_:)](foundationmodels/generatedcontent/kind-swift.enum/string(_:).md)
