Skip to content

Commit

Permalink
validate individual files
Browse files Browse the repository at this point in the history
  • Loading branch information
terrywbrady committed Dec 11, 2024
1 parent d5388e9 commit 8f2f422
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions new-manifest/manifest.batch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authentication-methods:
contents:
objects:
- erc-who: Tracy Seneca
erc-when: 2009-09-01
erc-when: '2009-09-01'
files:
- url: https://raw.githubusercontent.com/CDLUC3/mrt-doc/main/sampleFiles/bigHunt2.jpg
size: 76935
Expand All @@ -19,7 +19,7 @@ contents:
merritt-pathname: bigHunt.txt
- erc-who: Tracy Seneca
erc-what: Motel Capri - manifest style
erc-when: 2009-09-01T00:00:00
erc-when: '2009-09-01T00:00:00'
files:
- url: https://raw.githubusercontent.com/CDLUC3/mrt-doc/main/sampleFiles/4blocks.jpg
fixity:
Expand All @@ -33,7 +33,7 @@ contents:
merritt-pathname: 4blocks.txt
- erc-who: Tracy Seneca
erc-what: If This Bell Rings Call 911 - manifest style
erc-when: 2009-09-01T00:00:00
erc-when: '2009-09-01T00:00:00'
files:
- url: https://raw.githubusercontent.com/CDLUC3/mrt-doc/main/sampleFiles/call911.jpg
size: 87112
Expand Down
2 changes: 1 addition & 1 deletion new-manifest/manifest.files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ contents:
objects:
- erc-who: Tracy Seneca
erc-what: Golden Dragon Restaurant Sign
erc-when: 2009-09-01
erc-when: '2009-09-01'
files:
- url: https://raw.githubusercontent.com/CDLUC3/mrt-doc/main/sampleFiles/goldenDragon.jpg
fixity:
Expand Down
2 changes: 1 addition & 1 deletion new-manifest/merritt-manifest-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"additionalProperties": false,
"properties": {
"public": {
"type": "null"
"type": null
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion new-manifest/merritt-manifest-schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ properties:
additionalProperties: false
properties:
public:
type: 'null'
type: null
- type: object
required:
- basic
Expand Down
1 change: 1 addition & 0 deletions new-manifest/validate.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
puts "\n\n#{file}\n\n"
obj = YAML.safe_load(
File.read(file),
# [Date, Time],
aliases: true
)
rescue => e
Expand Down

0 comments on commit 8f2f422

Please sign in to comment.