Commit 082d0b5
committed
Add "type_designator_mapping" slot.
Add a new `type_designator_mapping` slot.
That slot is intended to be used in a slot_definition for a slot that is
set as the type designator slot for the class it belongs to.
It allows to define custom mappings to match a type designator value
with the type to be designated. Such mappings can be used to provide
more ways to reference a given class in a type designator value (beyond
the default way of using the class name, URI, or CURIE).
It also allows to provide a "fallback" mechanism, by which a loader or
validator can be made to accept an otherwise unrecognised designated
type, through the use of "wildcards" (shell-like patterns).
This implements the idea evoked in
linkml/linkml#3701.1 parent 986c788 commit 082d0b5
1 file changed
Lines changed: 60 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1934 | 1934 | | |
1935 | 1935 | | |
1936 | 1936 | | |
| 1937 | + | |
| 1938 | + | |
| 1939 | + | |
| 1940 | + | |
| 1941 | + | |
| 1942 | + | |
| 1943 | + | |
| 1944 | + | |
| 1945 | + | |
| 1946 | + | |
| 1947 | + | |
| 1948 | + | |
| 1949 | + | |
| 1950 | + | |
| 1951 | + | |
| 1952 | + | |
| 1953 | + | |
| 1954 | + | |
| 1955 | + | |
| 1956 | + | |
| 1957 | + | |
| 1958 | + | |
| 1959 | + | |
| 1960 | + | |
| 1961 | + | |
| 1962 | + | |
| 1963 | + | |
| 1964 | + | |
| 1965 | + | |
| 1966 | + | |
| 1967 | + | |
| 1968 | + | |
| 1969 | + | |
1937 | 1970 | | |
1938 | 1971 | | |
1939 | 1972 | | |
| |||
3332 | 3365 | | |
3333 | 3366 | | |
3334 | 3367 | | |
| 3368 | + | |
| 3369 | + | |
| 3370 | + | |
| 3371 | + | |
| 3372 | + | |
| 3373 | + | |
| 3374 | + | |
| 3375 | + | |
| 3376 | + | |
| 3377 | + | |
| 3378 | + | |
| 3379 | + | |
| 3380 | + | |
| 3381 | + | |
| 3382 | + | |
| 3383 | + | |
| 3384 | + | |
| 3385 | + | |
| 3386 | + | |
| 3387 | + | |
| 3388 | + | |
| 3389 | + | |
| 3390 | + | |
| 3391 | + | |
| 3392 | + | |
| 3393 | + | |
| 3394 | + | |
3335 | 3395 | | |
3336 | 3396 | | |
3337 | 3397 | | |
| |||
0 commit comments