> **Experimental**
>
> `@aws-cdk/aws-s3tables-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# SchemaFieldProperty

Contains details about a schema field.

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/table.ts`](https://github.com/aws/aws-cdk/blob/v2.274.0-alpha.0/packages/@aws-cdk/aws-s3tables-alpha/lib/table.ts#L571)

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as s3tables_alpha from '@aws-cdk/aws-s3tables-alpha';
const schemaFieldProperty: s3tables_alpha.SchemaFieldProperty = {
  name: 'name',
  type: 'type',

  // the properties below are optional
  id: 123,
  required: false,
};
```

## Properties

- `id`: number — The unique identifier for the field.

  **Default:** Auto-assigned by S3 Tables

- `name`: string (required) — The name of the field.

- `required`: boolean = false — A Boolean value that specifies whether values are required for each row in this field.

  By default, this is `false` and null values are allowed in the field. If this is `true`, the field does not allow null values.

- `type`: string (required) — The field type.

  S3 Tables supports all Apache Iceberg primitive types. For more information, see the [Apache Iceberg documentation](https://iceberg.apache.org/spec/#primitive-types).
