Slot: id_prefixes_are_closed
If true, then the id_prefixes slot is treated as being closed, and any use of an id that does not have this prefix is considered a violation.
- Names in code:
idPrefixesAreClosed(Scala, Java),id_prefixes_are_closed(TypeScript, Python, Rust, GraphQL) - URI:
linkml:id_prefixes_are_closed(https://w3id.org/linkml/id_prefixes_are_closed) - Range: boolean
- Cardinality: 0..1
- See also:
https://github.com/linkml/linkml/issues/194
Where you can use it
Section titled “Where you can use it”- In the schema, at the top level
- In a class, under:
- In a slot, under:
- In a type, under:
typesof the schema
- In an enum, under:
enumsof the schemaenum_rangeof a slot or a slot expression
- In a subset, under:
- In function_definition, under:
Classes
Section titled “Classes”Classes that have this slot, with the range and cardinality it has in each.
| Class | Range | Cardinality |
|---|---|---|
| element | boolean | 0..1 |