You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
additional_resources:
- {description: web page with auxiliary material, location: 'https://atlas.web.cern.ch/Atlas/GROUPS/PHYSICS/PAPERS/STDM-2020-01:2024'}
in the submitted submission.yaml file, which appears in the JSON format as:
"resources":[{"description":"web page with auxiliary material","type":"html","url":"https://atlas.web.cern.ch/Atlas/GROUPS/PHYSICS/PAPERS/STDM-2020-01 :2024"}]
The INSPIRE schema requires URLs to be well-formed using format: uri, creating problems when HEPData metadata with invalid URLs is harvested by INSPIRE. The HEPData JSON schema should be made more strict using format: uri for fields corresponding to URLs, namely, the location in additional_resources_schema.json (only if the location starts with http, since this field is also used for a local resource file), the url of a license in additional_resources_schema.json, the url of a data_license in submission_schema.json, and the data_schema in submission_schema.json.
See Validating Formats for help with the implementation. Note that additional dependencies need to be installed with pip install jsonschema[format] and an argument format_checker=jsonschema.FormatChecker() needs to be passed to the jsonschema.validate function.
The text was updated successfully, but these errors were encountered:
The ATLAS record ins2762099 contains:
in the submitted
submission.yaml
file, which appears in the JSON format as:The INSPIRE schema requires URLs to be well-formed using
format: uri
, creating problems when HEPData metadata with invalid URLs is harvested by INSPIRE. The HEPData JSON schema should be made more strict usingformat: uri
for fields corresponding to URLs, namely, thelocation
inadditional_resources_schema.json
(only if thelocation
starts withhttp
, since this field is also used for a local resource file), theurl
of alicense
inadditional_resources_schema.json
, theurl
of adata_license
insubmission_schema.json
, and thedata_schema
insubmission_schema.json
.See Validating Formats for help with the implementation. Note that additional dependencies need to be installed with
pip install jsonschema[format]
and an argumentformat_checker=jsonschema.FormatChecker()
needs to be passed to thejsonschema.validate
function.The text was updated successfully, but these errors were encountered: