Skip to content

Commit aee2331

Browse files
committed
Remove unnecessary "type" of "string" for enums that consist of solely strings.
"Setting `type` alongside `enum` is considered an anti-pattern, as the enumeration choices already imply their respective types (enum_with_type)"
1 parent 5dc0519 commit aee2331

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

softbinding-algorithm-entry-schema.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
"description": "Entity-specific namespace as specified for C2PA Assertions labels that shall begin with the Internet domain name for the entity similar to how Java packages are defined (e.g., `com.example.algo1`, `net.example.algos.algo2`)"
2020
},
2121
"type": {
22-
"type": "string",
2322
"enum": [
2423
"watermark",
2524
"fingerprint"
@@ -30,7 +29,6 @@
3029
"type": "array",
3130
"minItems": 1,
3231
"items": {
33-
"type": "string",
3432
"enum": [
3533
"application",
3634
"audio",

0 commit comments

Comments
 (0)