{ "$id": "resource-instance-search-params", "type": "object", "additionalProperties": false, "required": [], "definitions": { "comparison-operator": { "type": "object", "properties": { "created": { "$ref": "resource-instance-common#/definitions/created" }, "lastUpdated": { "$ref": "resource-instance-common#/definitions/lastUpdated" } } }, "DISABLED_FEATURE_in": { "allOf": [ { "$ref": "common-http#/definitions/search-parameter-in" }, { "type": "object", "properties": { "stateId": { "type": "array", "items": { "$ref": "resource-instance-common#/definitions/stateId" } }, "stateName": { "type": "array", "items": { "$ref": "resource-instance-common#/definitions/stateName" } } } } ] } }, "allOf": [ { "$ref": "common-http#/definitions/pagination-parameters" }, { "$ref": "common-http#/definitions/sort-parameters" }, { "properties": { "equals": { "type": "object", "properties": { "modelName": { "$ref": "resource-model-common#/definitions/name" }, "stateName": { "$ref": "resource-instance-common#/definitions/stateName" }, "_id": { "$ref": "common-http#/definitions/document-identifier" }, "name": { "$ref": "resource-instance-common#/definitions/name" }, "modelId": { "$ref": "common-http#/definitions/document-identifier" }, "created": { "$ref": "resource-instance-common#/definitions/created" }, "createdBy": { "$ref": "common-http#/definitions/document-identifier" }, "lastUpdated": { "$ref": "resource-instance-common#/definitions/lastUpdated" }, "lastUpdatedBy": { "$ref": "common-http#/definitions/document-identifier" } } }, "include-deleted": { "type": "string", "default": "false", "enum": [ "true", "false" ] }, "starts-with": { "type": "object", "properties": { "name": { "$ref": "resource-instance-common#/definitions/name" } } }, "lt": { "$ref": "#/definitions/comparison-operator" }, "lte": { "$ref": "#/definitions/comparison-operator" }, "gt": { "$ref": "#/definitions/comparison-operator" }, "gte": { "$ref": "#/definitions/comparison-operator" }, "dereference": { "description": "Comma-separated list of foreign key field types to dereference", "const": "accounts" } } } ] }