root/data/ldap_shadows/schema/object.yaml @ c4ca8497
c5ae937c | Marc Dequènes (Duck) | ---
|
|
type: map
|
|||
mapping:
|
|||
"mapping":
|
|||
type: map
|
|||
717158af | Marc Dequènes (Duck) | required: true
|
|
7f913647 | Marc Dequènes (Duck) | name: ObjectMapping
|
|
c5ae937c | Marc Dequènes (Duck) | mapping:
|
|
=:
|
|||
717158af | Marc Dequènes (Duck) | type: any
|
|
c5ae937c | Marc Dequènes (Duck) | "presentation":
|
|
type: map
|
|||
mapping:
|
|||
717158af | Marc Dequènes (Duck) | "name_attribute": {type: str}
|
|
c5ae937c | Marc Dequènes (Duck) | "allowed_aspects":
|
|
type: seq
|
|||
sequence:
|
|||
- type: str
|
|||
"hidden_attributes":
|
|||
type: seq
|
|||
sequence:
|
|||
- type: str
|
|||
"expert_attributes":
|
|||
type: seq
|
|||
sequence:
|
|||
- type: str
|
|||
717158af | Marc Dequènes (Duck) | "associated_relations":
|
|
type: seq
|
|||
sequence:
|
|||
- type: str
|
|||
"relations":
|
|||
type: map
|
|||
mapping:
|
|||
=:
|
|||
type: map
|
|||
name: RelationMapping
|
|||
mapping:
|
|||
"type": {type: str, required: true, enum: [belongs_to, has_many]}
|
|||
"object": {type: str, required: true}
|
|||
"foreign_key": {type: str, required: true}
|
|||
"many": {type: str}
|
|||
"primary_key": {type: str}
|