# TypeSystemArgs

TYPE in `@skmtc/core 0.63.4`

Arguments for type system transformation functions.

## Signature

```ts
import type { TypeSystemArgs } from '@skmtc/core'

type TypeSystemArgs<Schema extends SchemaType> = { ... }
```

- `Schema`: The specific schema type being transformed

## Properties

- `context` (GenerateContextType, required): The generation context containing utilities and state
- `destinationPath` (string, required): The destination path for the generated artifact
- `schema` (Schema, required): The schema to transform
- `required` (boolean | undefined, required): Whether the schema field is required

## Examples

Example:

```ts
function transformStringSchema(args: TypeSystemArgs<OasSchema>): TypeSystemString {
  const { context, schema, required } = args;
  // Transform string schema to type system representation
  return {
    type: 'string',
    format: schema.format,
    enums: schema.enums,
    modifiers: { optional: !required, nullable: schema.nullable }
  };
}
```
