// Generated by smithplates HTTP codegen. Do not edit.

export interface PetAttributeValueColor {
  color: string;
}

export interface PetAttributeValueWeight_kg {
  weight_kg: number;
}

export interface PetAttributeValueVaccinated {
  vaccinated: boolean;
}

export type PetAttributeValue = PetAttributeValueColor | PetAttributeValueWeight_kg | PetAttributeValueVaccinated;

export function parsePetAttributeValue(value: unknown): PetAttributeValue {
  return value as PetAttributeValue;
}

export function serializePetAttributeValue(value: PetAttributeValue): Record<string, unknown> {
  return { ...value };
}
