{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "$ref": "#/components/schemas/PkgUserRelationTypeObjectConditionVM",
  "components": {
    "schemas": {
      "PkgUserRelationTypeObjectConditionVM": {
        "required": [
          "objectTypeKey",
          "unlockedUserRelationTypeKey",
          "userRelationTypeKey"
        ],
        "type": "object",
        "properties": {
          "objectTypeKey": {
            "minLength": 1,
            "type": "string"
          },
          "unlockedUserRelationTypeKey": {
            "minLength": 1,
            "type": "string"
          },
          "userRelationTypeKey": {
            "minLength": 1,
            "type": "string"
          },
          "workflowStateKey": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      }
    }
  }
}