| { |
| "$schema" : "http://json-schema.org/draft-04/schema#", |
| "title" : "org.eclipse.persistence.testing.jaxb.externalizedmetadata.mappings.binarydatacollection.MyData", |
| "type" : "object", |
| "properties" : { |
| "my-data" : { |
| "type" : "object", |
| "properties" : { |
| "mybytes" : { |
| "type" : "object", |
| "properties" : { |
| "bytes" : { |
| "type" : "array", |
| "items" : { |
| "anyOf" : [ { |
| "type" : "string" |
| }, { |
| "type" : "object", |
| "properties" : { |
| "Include" : { |
| "type" : "object", |
| "properties" : { |
| "href" : { |
| "type" : "string" |
| } |
| } |
| } |
| } |
| } ] |
| } |
| }, |
| "read-only-bytes" : { |
| "type" : "object", |
| "properties" : { |
| "byte" : { |
| "type" : "array", |
| "items" : { |
| "anyOf" : [ { |
| "type" : "string" |
| }, { |
| "type" : "object", |
| "properties" : { |
| "Include" : { |
| "type" : "object", |
| "properties" : { |
| "href" : { |
| "type" : "string" |
| } |
| } |
| } |
| } |
| } ] |
| } |
| } |
| } |
| } |
| } |
| }, |
| "write-only-bytes" : { |
| "type" : "array", |
| "items" : { |
| "anyOf" : [ { |
| "type" : "string" |
| }, { |
| "type" : "object", |
| "properties" : { |
| "Include" : { |
| "type" : "object", |
| "properties" : { |
| "href" : { |
| "type" : "string" |
| } |
| } |
| } |
| } |
| } ] |
| } |
| } |
| }, |
| "additionalProperties" : false |
| } |
| } |
| } |