Other great resources: Official JS API docs, Scripting Forum
OIL_RESOURCE
Indicates an oil resource Feature object...
Overview
To use an oil resource, you must fist build a RESOURCE_EXTRACTOR on top of it and then power the extractor with a POWER_GEN.