All Downloads are FREE. Search and download functionalities are using the official Maven repository.

raml.schemas.content-pattern.schema.json Maven / Gradle / Ivy

There is a newer version: 3.0.1
Show newest version
{
    "type": "object",
    "oneOf": [
        {
            "description": "String equality",
            "properties": {
                "equalTo": {
                    "type": "string"
                },
                "caseInsensitive": {
                    "type": "boolean"
                }
            },
            "required": [
                "equalTo"
            ]
        },
        {
            "description": "String contains",
            "properties": {
                "contains": {
                    "type": "string"
                }
            },
            "required": [
                "contains"
            ]
        },
        {
            "description": "Regular expression match",
            "properties": {
                "matches": {
                    "type": "string"
                }
            },
            "required": [
                "matches"
            ]
        },
        {
            "description": "Negative regular expression match",
            "properties": {
                "doesNotMatch": {
                    "type": "string"
                }
            },
            "required": [
                "doesNotMatch"
            ]
        },
        {
            "description": "JSON equality",
            "properties": {
                "equalToJson": {
                    "type": "string"
                }
            },
            "required": [
                "equalToJson"
            ]
        },
        {
            "description": "JSONPath match",
            "properties": {
                "matchesJsonPath": {
                    "type": "string"
                },
                "ignoreArrayOrder": {
                    "type": "boolean"
                },
                "ignoreExtraElements": {
                    "type": "boolean"
                }
            },
            "required": [
                "matchesJsonPath"
            ]
        },
        {
            "description": "XML equality",
            "properties": {
                "equalToXml": {
                    "type": "string"
                }
            },
            "required": [
                "equalToXml"
            ]
        },
        {
            "description": "XPath match",
            "properties": {
                "matchesXPath": {
                    "type": "string"
                },
                "namespaces": {
                    "type": "object"
                },
                "valuePattern": {
                    "$ref": "content-pattern.schema.json"
                }
            },
            "required": [
                "matchesXPath"
            ]
        }
    ]
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy