Commit 75143acc authored by anton's avatar anton
Browse files

Fix required props for annotation body model

parent 08dda0ba
......@@ -8,13 +8,11 @@ const bodySchema = (opts = {}) => {
const schema = {
id: {
type: String,
validate: validators.url,
required: true
validate: validators.url
},
format: {
type: String,
validate: validators.mimeType,
required: true
validate: validators.mimeType
},
type: {
type: String,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment