Skip to content

Commit

Permalink
Merge pull request #24 from ministryofjustice/MLPAB-1542-lower-actor-…
Browse files Browse the repository at this point in the history
…type

MLPAB-1542: Camel case actor type
  • Loading branch information
acsauk authored Feb 5, 2024
2 parents 9206495 + f4702af commit 7cac847
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"uid": "M-1234-5678-9012",
"actorType": "Attorney",
"actorType": "attorney",
"actorUID": "740e5834-3a29-46b4-9a6f-16142fde533a"
}
4 changes: 2 additions & 2 deletions domains/POAS/events/paper-form-requested/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"actorType": {
"type": "string",
"description": "The type of actor that needs a paper form",
"enum": ["CertificateProvider", "Attorney", "ReplacementAttorney"]
"enum": ["certificateProvider", "attorney", "replacementAttorney"]
},
"actorUid": {
"type": "string",
Expand All @@ -22,7 +22,7 @@
},
"if": {
"properties": {
"actorType": { "const": "CertificateProvider" }
"actorType": { "const": "certificateProvider" }
}
},
"then": { "required": ["uid", "actorType"] },
Expand Down

0 comments on commit 7cac847

Please sign in to comment.