Skip to content

CreateComputationSpec

idstring^[a-z]([a-z0-9]|-)*[a-z0-9]:(data-types|compu...

The optional id of the specification. The id should be of the form '{authority}:{spec-type}:{id}', where '{authority}' is the owning authority of the specification, '{spec-type}' is one of 'data-types', 'computation-specs' or 'workflow-specs'.

Example:"slb:data-types:custom-specification"
namestringrequired

The name of the specification.

Example:"custom-specification"
descriptionstringrequired

The description of the specification.

Example:"Custom specification."
inputDataTypeIdsArray of stringsrequired

The input data-type IDs for the computation specification. These data-types must have already been previously created. The order of the input data-type IDs is maintained in the created computation specification. Note that specific versions of a data-type can be specified by using the format 'id:version'.

Example:
[ "decline-curves", "drilling-constraints", "facility-constraints\"" ]
outputDataTypeIdsArray of stringsrequired

The output data-type IDs for the computation specification. These data-types must have already been previously created. The order of the output data-type IDs is maintained in the created computation specification. Note that specific versions of a data-type can be specified by using the format 'id:version'.

Example:
[ "production-forecast" ]
annotationsArray of objects(Annotation)

The annotations for the computation specification.

Example:
[ { "address": { … }, "key": "name", "value": "Decline Curves", "createdBy": "user@slb.com" }, { "address": { … }, "key": "name", "value": "Drilling Constraints", "createdBy": "user@slb.com" }, { "address": { … }, "key": "name", "value": "Facility Constraints", "createdBy": "user@slb.com" }, { "address": { … }, "key": "name", "value": "Production Forecast", "createdBy": "user@slb.com" } ]
{ "id": "slb:computation-specs:custom-computation-spec", "name": "custom-computation-spec", "description": "Description", "inputDataTypeIds": [ "decline-curves", "drilling-constraints", "facility-constraints" ], "outputDataTypeIds": [ "production-forecast" ], "annotations": [ { … }, { … }, { … }, { … } ] }