Function mapPostgresTypeToJsonType

  • Maps PostgreSQL data types to corresponding JSON Schema types.

    Parameters

    • postgresType: string

      The PostgreSQL data type.

    Returns string

    The JSON Schema type.