Skip to content

Commit

Permalink
add interactions to list of required properties
Browse files Browse the repository at this point in the history
  • Loading branch information
tclaus committed Feb 16, 2021
1 parent 0350d6b commit 2f27aa5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/schemas/api_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,12 @@
"interactions": {
"type": "object",
"properties" : {
"likes" : { "$ref": "https://diaspora.software/api/v1/schema.json#/definitions/likes"},
"likes_count" : { "type": "integer"}
"likes" : { "$ref": "https://diaspora.software/api/v1/schema.json#/definitions/likes"},
"likes_count" : { "type": "integer"}
}
}
},
"required": ["guid", "created_at", "author", "body", "reported"],
"required": ["guid", "created_at", "author", "body", "reported", "interactions"],
"additionalProperties": false
}
},
Expand Down

0 comments on commit 2f27aa5

Please sign in to comment.