JSON schema validation

Jul 29, 2013 at 4:37 PM
I'm trying to validate a JSON string on my schema. My schema contains the "definitions" and the "oneOf" keywords. The actual version of JSON.NET doesn't seem to support these features. Are you planning to support it?

Thanks

Here's my schema :
{
    "description":"Geometry descriptor",
    "type":"object",
    "oneOf":[
        { "$ref":"#/definitions/rectangle" }
    ],
    "definitions":"{
        "rectangle":{
            "type":"object",
            "properties":{
                "primitives":{
                    "type":"string"
                },
                "attributes":{
                    "type":"string"
                },
                "uncertainties":{
                    "type":"string"
                }
            }
        }
    }
}