import { z } from 'zod'

export const versionSetSchema = z.object({
  datasetId: z.string().min(1).max(128),
  dataHash: z.string().min(1).max(128),
  modelVersion: z.string().min(1).max(128),
  configVersion: z.string().min(1).max(128),
  codeSha: z.string().min(1).max(128),
  contractVersion: z.string().min(1).max(64)
})

export type VersionSet = z.infer<typeof versionSetSchema>
