# Class: ForeignKeys URI: [frictionless:ForeignKeys](https://w3id.org/linkml/frictionless/ForeignKeys) ```mermaid classDiagram class ForeignKeys click ForeignKeys href "../ForeignKeys" ForeignKeys : constraint_name ForeignKeys : fields ForeignKeys --> "*" Field : fields click Field href "../Field" ForeignKeys : reference ForeignKeys --> "0..1" Reference : reference click Reference href "../Reference" ``` ## Slots | Name | Cardinality and Range | Description | Inheritance | | --- | --- | --- | --- | | [fields](fields.md) | *
[Field](Field.md) | | direct | | [reference](reference.md) | 0..1
[Reference](Reference.md) | | direct | | [constraint_name](constraint_name.md) | 0..1
[String](String.md) | | direct | ## Usages | used by | used in | type | used | | --- | --- | --- | --- | | [Schema](Schema.md) | [foreignKeys](foreignKeys.md) | range | [ForeignKeys](ForeignKeys.md) | ## Identifier and Mapping Information ### Schema Source * from schema: https://w3id.org/linkml/frictionless ## Mappings | Mapping Type | Mapped Value | | --- | --- | | self | frictionless:ForeignKeys | | native | frictionless:ForeignKeys | ## LinkML Source ### Direct
```yaml name: ForeignKeys from_schema: https://w3id.org/linkml/frictionless slots: - fields - reference - constraint_name slot_usage: fields: name: fields inlined: false range: name: range id_prefixes: - Any ```
### Induced
```yaml name: ForeignKeys from_schema: https://w3id.org/linkml/frictionless slot_usage: fields: name: fields inlined: false range: name: range id_prefixes: - Any attributes: fields: name: fields examples: - value: id from_schema: https://w3id.org/linkml/frictionless rank: 1000 alias: fields owner: ForeignKeys domain_of: - Reference - ForeignKeys - Schema range: Field multivalued: true inlined: false reference: name: reference from_schema: https://w3id.org/linkml/frictionless rank: 1000 alias: reference owner: ForeignKeys domain_of: - ForeignKeys range: Reference constraint_name: name: constraint_name examples: - value: dcc_project_fkey from_schema: https://w3id.org/linkml/frictionless rank: 1000 alias: constraint_name owner: ForeignKeys domain_of: - ForeignKeys ```