MetadataNoneOf
Met when none of its conditions is met.
Notes
A logical NOT, or NOR with several conditions. Also met when it has no conditions. Groups can be nested.
Examples
A field that is present and not blank (the opposite of a blank field):
- YAML
- JSON
- XML
class: MetadataNoneOf
conditions:
- class: MetadataBlankCondition
fieldMatcher:
pattern: title
{
"class": "MetadataNoneOf",
"conditions": [
{
"class": "MetadataBlankCondition",
"fieldMatcher": {
"pattern": "title"
}
}
]
}
<class>MetadataNoneOf</class>
<conditions>
<class>MetadataBlankCondition</class>
<fieldMatcher>
<pattern>title</pattern>
</fieldMatcher>
</conditions>
Usage
Full configuration skeleton, with every option and its default
- YAML
- JSON
- XML
class: MetadataNoneOf
conditions: []
{
"class": "MetadataNoneOf",
"conditions": []
}
<condition>
<class>MetadataNoneOf</class>
<conditions>
<condition/>
</conditions>
</condition>
Properties
| Property | Type | Required | Default |
|---|---|---|---|
conditions | MetadataCondition[] | No | - |
Property Details
conditions
The conditions, none of which may be met.