Retrieving oid from API
add the schema in the doc