Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Diegodlh
Web2Cit Core
Commits
ac520a44
Commit
ac520a44
authored
Feb 22, 2022
by
Diegodlh
Browse files
Add patterns json schema
parent
eea84e1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
patterns.schema.json
0 → 100644
View file @
ac520a44
{
"$schema"
:
"https://json-schema.org/draft/2020-12/schema"
,
"$id"
:
"https://gitlab.wikimedia.org/diegodlh/w2c-core/-/blob/main/patterns.schema.json"
,
"title"
:
"Domain URL path patterns configuration for Web2Cit"
,
"description"
:
"A list of URL path patterns"
,
"type"
:
"array"
,
"items"
:
{
"description"
:
"A URL path pattern"
,
"type"
:
"object"
,
"properties"
:
{
"pattern"
:
{
"description"
:
"Glob path pattern defining a URL matching group"
,
"type"
:
"string"
},
"label"
:
{
"description"
:
"Fancy name for this URL path pattern"
,
"type"
:
"string"
}
},
"required"
:
[
"pattern"
]
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment