Skip to content

Commit

Permalink
Add druid validation
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne committed Sep 19, 2019
1 parent 5c8fbe7 commit 8dc0d17
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion openapi.json
Expand Up @@ -847,7 +847,9 @@
"components": {
"schemas": {
"Druid": {
"type": "string"
"type": "string",
"pattern": "^druid:[b-df-hjkmnp-tv-z]{2}[0-9]{3}[b-df-hjkmnp-tv-z]{2}[0-9]{4}$",
"example": "druid:bc123df4567"
},
"DRO": {
"type": "object",
Expand Down

0 comments on commit 8dc0d17

Please sign in to comment.