{ "$id": "resource-action-execution-search-params", "description": "Search parameters for resource action executions", "type": "object", "additionalProperties": false, "required": [], "allOf": [ { "$ref": "common-http#/definitions/pagination-parameters" }, { "$ref": "common-http#/definitions/sort-parameters" }, { "type": "object", "properties": { "equals": { "type": "object", "properties": { "_id": { "$ref": "common-http#/definitions/document-identifier" }, "modelId": { "$ref": "common-http#/definitions/document-identifier" }, "modelName": { "$ref": "resource-model-common#/definitions/name" }, "instanceId": { "$ref": "common-http#/definitions/document-identifier" }, "instanceName": { "$ref": "resource-instance-common#/definitions/name" }, "actionId": { "$ref": "resource-model-common#/definitions/action-identifier" }, "actionName": { "$ref": "resource-model-common#/definitions/action/properties/name" }, "jobId": { "$ref": "common-http#/definitions/document-identifier" }, "startTime": { "$ref": "common#/definitions/iso-date-string" }, "endTime": { "$ref": "common#/definitions/iso-date-string" }, "status": { "$ref": "resource-action-execution-common#/definitions/status" }, "initiator": { "$ref": "common-http#/definitions/document-identifier" } } }, "in": { "allOf": [ { "$ref": "common-http#/definitions/search-parameter-in" }, { "type": "object", "properties": { "modelId": { "description": "A comma-delineated list of model ids to search for", "type": "array", "items": { "$ref": "common-http#/definitions/document-identifier" } }, "status": { "description": "A comma-delineated list of statuses to search for", "type": "array", "items": { "$ref": "resource-action-execution-common#/definitions/status" } } } } ] }, "starts-with": { "type": "object", "properties": { "modelName": { "$ref": "resource-model-common#/definitions/name" }, "instanceName": { "$ref": "resource-model-common#/definitions/name" }, "actionName": { "$ref": "resource-model-common#/definitions/action/properties/name" } } }, "lt": { "$ref": "#/definitions/comparison-operator" }, "lte": { "$ref": "#/definitions/comparison-operator" }, "gt": { "$ref": "#/definitions/comparison-operator" }, "gte": { "$ref": "#/definitions/comparison-operator" }, "include": { "$ref": "#/definitions/projection-operator" }, "exclude": { "$ref": "#/definitions/projection-operator" } } } ], "definitions": { "projection-operator": { "type": "array", "items": { "type": "string" } }, "comparison-operator": { "type": "object", "properties": { "startTime": { "$ref": "resource-action-execution-common#/definitions/startTime" }, "endTime": { "$ref": "resource-action-execution-common#/definitions/endTime" } } } } }