Periodic Table Database Schema - v0.7.1
    Preparing search index...

    Structural model for representing the market price of a scientific commodity.

    type Price = {
        context?: {
            market?: string;
            quantity?: NumberValue<PhysicalQuantity>;
            tax?: PriceTax;
            type?: PriceContext;
        };
        currency: Currency;
        validity?: | { at: IsoDate }
        | RequireAtLeastOne<{ from?: IsoDate; to?: IsoDate }, "from" | "to">;
        value:
            | { type: EXACT; value: number }
            | { max: number; min: number; type: RANGE }
            | { type: FROM; value: number };
    }
    Index

    Properties

    context?: {
        market?: string;
        quantity?: NumberValue<PhysicalQuantity>;
        tax?: PriceTax;
        type?: PriceContext;
    }

    Administrative and market context of the price data.

    Type Declaration

    • Optionalmarket?: string

      Geographic or organizational market where the price applies.

    • Optionalquantity?: NumberValue<PhysicalQuantity>

      The amount of substance for which the price is specified.

    • Optionaltax?: PriceTax

      Information regarding included or excluded value-added taxes.

    • Optionaltype?: PriceContext

      Classification of the price (e.g., Industrial, Laboratory grade).

    currency: Currency

    The currency unit used for the price specification.

    validity?:
        | { at: IsoDate }
        | RequireAtLeastOne<{ from?: IsoDate; to?: IsoDate }, "from" | "to">

    The temporal period or point in time for which the price was verified.

    value:
        | { type: EXACT; value: number }
        | { max: number; min: number; type: RANGE }
        | { type: FROM; value: number }

    The quantitative cost of the substance.