---
title: "Property Equals"
description: "'Learn how to test node properties with the propertyEquals condition using JSON Schema and examples.' (Gitana 4.0)"
product: "Gitana"
version: "4.0"
url: "/documentation/gitana/4.0/engine/behaviors/conditions/property-equals"
---

# Property Equals

The `propertyEquals` condition tests whether a node property is equal to a given value.

## JSON Schema

```
{
    "title": "Property Equals",
    "properties": {
        "property": {
            "type": "string",
            "title": "Property Name"
        },
        "value": {
            "type": "string",
            "title": "Value"
        }
    }
}
```

## Example #1

Suppose you wanted to test whether a node has a property called `published` which was set to `true`. You could set up the condition like this:

```
{
    "type": "propertyEquals",
    "config": {
        "property": "published",
        "value": true
    }
}
```
