Skip to content

Commit

Permalink
make image-ids in arrays unique
Browse files Browse the repository at this point in the history
  • Loading branch information
etinquis committed Jan 3, 2024
1 parent ad34050 commit a9bd2de
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions schemas/v1/accounts/returning/returning-character.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
},
"images": {
"type": "array",
"uniqueItems": true,
"items": {
"$ref": "/schemas/v1/characters/images-id.json"
}
Expand Down
2 changes: 2 additions & 0 deletions schemas/v1/characters/character-creation-images.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"patternProperties": {
".*": {
"type": "array",
"uniqueItems": true,
"items": {
"$ref": "/schemas/v1/characters/images-id.json"
}
Expand All @@ -23,6 +24,7 @@
"patternProperties": {
".*": {
"type": "array",
"uniqueItems": true,
"items": {
"$ref": "/schemas/v1/characters/images-id.json"
}
Expand Down
2 changes: 2 additions & 0 deletions schemas/v1/races/images.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"properties": {
"M": {
"type": "array",
"uniqueItems": true,
"items": {
"$ref": "/schemas/v1/characters/images-id.json"
}
Expand All @@ -28,6 +29,7 @@
"properties": {
"U": {
"type": "array",
"uniqueItems": true,
"items": {
"$ref": "/schemas/v1/characters/images-id.json"
}
Expand Down

0 comments on commit a9bd2de

Please sign in to comment.