JsonSchema[] extended = new JsonSchema[1]; SimpleTypeSchema typeExtended = new ObjectSchema(); typeExtended.set$ref(extendedType); extended[0] = typeExtended; objectSchema.setExtends(extended); reference.set$ref("#/schemas/" + type); array.setItemsSchema(reference); propertySchema.set$ref("#/schemas/" + type); propertySchema.setRequired(property.getMinOccurs() > 0); objectSchema.getProperties().put(propertySchema.getTitle(),
JsonSchema[] extended = new JsonSchema[1]; SimpleTypeSchema typeExtended = new ObjectSchema(); typeExtended.set$ref(extendedType); extended[0] = typeExtended; objectSchema.setExtends(extended); reference.set$ref("#/schemas/" + type); array.setItemsSchema(reference); propertySchema.set$ref("#/schemas/" + type); propertySchema.setRequired(property.getMinOccurs() > 0); objectSchema.getProperties().put(propertySchema.getTitle(),
JsonSchema[] extended = new JsonSchema[1]; SimpleTypeSchema typeExtended = new ObjectSchema(); typeExtended.set$ref(extendedType); extended[0] = typeExtended; objectSchema.setExtends(extended); reference.set$ref("#/schemas/" + type); array.setItemsSchema(reference); propertySchema.set$ref("#/schemas/" + type); propertySchema.setRequired(property.getMinOccurs() > 0); objectSchema.getProperties().put(propertySchema.getTitle(),
JsonSchema[] extended = new JsonSchema[1]; SimpleTypeSchema typeExtended = new ObjectSchema(); typeExtended.set$ref(extendedType); extended[0] = typeExtended; objectSchema.setExtends(extended); reference.set$ref("#/schemas/" + type); array.setItemsSchema(reference); propertySchema.set$ref("#/schemas/" + type); propertySchema.setRequired(property.getMinOccurs() > 0); objectSchema.getProperties().put(propertySchema.getTitle(),
JsonSchema[] extended = new JsonSchema[1]; SimpleTypeSchema typeExtended = new ObjectSchema(); typeExtended.set$ref(extendedType); extended[0] = typeExtended; objectSchema.setExtends(extended); reference.set$ref("#/schemas/" + type); array.setItemsSchema(reference); propertySchema.set$ref("#/schemas/" + type); propertySchema.setRequired(property.getMinOccurs() > 0); objectSchema.getProperties().put(propertySchema.getTitle(),