-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathurn:resolver:.urnr.yml
62 lines (52 loc) · 1.82 KB
/
urn:resolver:.urnr.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# URN for explain itself
# https://regex101.com/?regex=urn:resolver:(.*)
# urn_base: "urn:resolver:(.*)"
# urn_resolver_internal: true
# https://stats.uptimerobot.com/jYDZlFY8jq
# @TODO get more potential informal URN namespaces from
# https://project-thor.readme.io/docs/project-glossary
# @TODO maybe list OSM-related software on this list
# https://wambachers-osm.website/SoftwareWatchlist.html
$schema: urn:resolver:schema:urnr
"@id": urn:resolver
meta:
_internal: true
Cache-Control:
_cc_mode: internal
examples:
# index, s, m/s, nominativus, https://en.wiktionary.org/wiki/index#Latin
- in.urn: urn:resolver:index
# exemplum, s, n, nominativus, https://en.wiktionary.org/wiki/exemplum#Latin
- in.urn: urn:resolver:exemplum
- in.urn: urn:resolver:exemplum?=u2709=.tsv
# - in.urn: urn:resolver:ping?u2709=.txt
- in.urn: urn:resolver:ping?=u2709=.txt
# - in.urn: urn:resolver:help
# @TODO enable _explore later
# - in.urn: urn:resolver:_explore
- in.urn: urn:resolver:_summary
# - in.urn: urn:resolver:ping
# # out.[0].iri: "{{ urnresolver }}/_/resolver/ping.php"
# - in.urn: urn:resolver:ping
# out.iri: "{{ urnresolver_base.self }}/_/resolver/ping.php"
# out.iri: "{{ base_iri }}/_/resolver/ping.php"
spec:
- https://github.com/EticaAI/urn-resolver
rules:
- in:
urn: "urn:resolver:(.*)"
# internal: true
# out:
# - iri: "_/resolver/ping.php"
- in:
urn: "urn:resolver:ping"
# internal: true
# out:
# # - iri: "{{ urnresolver_base.self }}/_/resolver/pong.php"
# - iri: "{{ urnresolver }}/_/resolver/pong.php"
- in:
urn: "urn:resolver:cron:run"
# internal: true
# out:
# # - iri: "{{ urnresolver_base.self }}/_/resolver/cron.php"
# - iri: "{{ urnresolver }}/_/resolver/cron.php"