CREATE [OR REPLACE] TYPE [ schema. ] type_name
  [ OID 'object_identifier' ]

  [ object_type 
  | | { IS | AS } { varray_type_def | nested_table_type_def }
  ];