Commit ac520a44 authored by Diegodlh's avatar Diegodlh
Browse files

Add patterns json schema

parent eea84e1a
{
"$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"]
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment