blob: 8d50a87ff64ea151b56ba85816b685db98d7d6ba [file] [log] [blame]
{
"$schema" : "http://json-schema.org/draft-04/schema#",
"title" : "org.eclipse.persistence.testing.jaxb.xmlidref.object.Root",
"type" : "object",
"properties" : {
"root" : {
"type" : "object",
"properties" : {
"employee" : {
"$ref" : "#/definitions/Employee"
},
"address" : {
"type" : "array",
"items" : {
"$ref" : "#/definitions/Address"
}
},
"phone-number" : {
"type" : "array",
"items" : {
"$ref" : "#/definitions/PhoneNumber"
}
}
},
"additionalProperties" : false
}
},
"definitions" : {
"Employee" : {
"type" : "object",
"properties" : {
"id" : {
"type" : "string"
},
"name" : {
"type" : "string"
},
"address-id" : {
"type" : "string"
},
"phone-id" : {
"type" : "array",
"items" : {
"type" : "string"
}
}
},
"additionalProperties" : false
},
"Address" : {
"type" : "object",
"properties" : {
"aid" : {
"type" : "string"
},
"street" : {
"type" : "string"
},
"city" : {
"type" : "string"
},
"country" : {
"type" : "string"
},
"zip" : {
"type" : "string"
}
},
"additionalProperties" : false
},
"PhoneNumber" : {
"type" : "object",
"properties" : {
"id" : {
"type" : "string"
},
"number" : {
"type" : "string"
}
},
"additionalProperties" : false
}
}
}