<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FoundationModels",
  "identifier" : "/documentation/FoundationModels/DynamicGenerationSchema/Property",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Foundation Models",
      "FoundationModels"
    ],
    "preciseIdentifier" : "s:16FoundationModels23DynamicGenerationSchemaV8PropertyV"
  },
  "title" : "DynamicGenerationSchema.Property"
}
-->

# DynamicGenerationSchema.Property

A property that belongs to a dynamic generation schema.

```
struct Property
```

## Overview

Fields are named members of object types. Fields are strongly
typed and have optional descriptions.

## Topics

### Creating a property

[`init(name:description:schema:isOptional:)`](/documentation/FoundationModels/DynamicGenerationSchema/Property/init(name:description:schema:isOptional:))

Creates a property referencing a dynamic schema.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)