/**
 * This file was auto-generated by Fern from our API Definition.
 */

import * as serializers from "../index";
import * as Rivet from "../../api/index";
import * as core from "../../core";
import { RivetId } from "./RivetId";

export const Namespace: core.serialization.ObjectSchema<serializers.Namespace.Raw, Rivet.Namespace> =
    core.serialization.object({
        createTs: core.serialization.property("create_ts", core.serialization.number()),
        displayName: core.serialization.property("display_name", core.serialization.string()),
        name: core.serialization.string(),
        namespaceId: core.serialization.property("namespace_id", RivetId),
    });

export declare namespace Namespace {
    export interface Raw {
        create_ts: number;
        display_name: string;
        name: string;
        namespace_id: RivetId.Raw;
    }
}
