Skip to content

Commit

Permalink
Fix schema inconsistency/issue
Browse files Browse the repository at this point in the history
Fixed accidental inconsistencies between this data schema and the HEPData schema. Recids now has no maxLength value. Updated table DOI to match the correct maxLength value of 128 (was 64).
  • Loading branch information
ItIsJordan committed Jun 28, 2023
1 parent 95885b5 commit 2abdfa8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"related_to_hepdata_recids" : {
"type" : "array",
"items" : {"type" : "integer", "maxLength" : 64 }
"items" : {"type" : "integer"}
},
"preprintyear": {
"type": "string",
Expand Down
2 changes: 1 addition & 1 deletion hepdata_validator/schemas/1.1.1/submission_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"name": { "type": "string", "maxLength": 64 },
"related_to_table_dois" : {
"type" : "array",
"items" : {"type" : "string", "maxLength" : 64 }
"items" : {"type" : "string", "maxLength" : 128 }
},
"location": { "type": "string", "maxLength": 256 },
"description": { "type": "string"},
Expand Down

0 comments on commit 2abdfa8

Please sign in to comment.