Skip to content

ReplaceComputationSpec

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

The 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:"A custom data-type"
versionintegerrequired

The version of the specification definition.

Example:1
archivedboolean

Whether this specification has been marked as archived.

Example:false
descriptionstringrequired

The description of the specification.

Example:"A specification"
inputDataTypeIdsArray of objects(VersionId)required

The input data-type IDs for the computation specification.

Example:
[ { "id": "decline-curves", "version": 1 }, { "id": "drilling-constraints", "version": 1 }, { "id": "facility-constraints", "version": 1 } ]
outputDataTypeIdsArray of objects(VersionId)required

The output data-type IDs for the computation specification.

Example:
[ { "id": "production-forecast", "version": 1 } ]
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": [ { … }, { … }, { … } ], "outputDataTypeIds": [ { … } ], "annotations": [ { … }, { … }, { … }, { … } ] }