root/data/ldap_shadows/schema/aspect.yaml @ 5ec5940f
9fca0140 | Marc Dequènes (Duck) | ---
|
|
type: map
|
|||
mapping:
|
|||
"mapping":
|
|||
type: map
|
|||
required: true
|
|||
name: Mapping
|
|||
mapping:
|
|||
"classes":
|
|||
type: seq
|
|||
4b6439ec | Marc Dequènes (Duck) | required: true
|
|
9fca0140 | Marc Dequènes (Duck) | sequence:
|
|
- type: str
|
|||
"depend_aspects":
|
|||
type: seq
|
|||
sequence:
|
|||
- type: str
|
|||
428fdd46 | Marc Dequènes (Duck) | "associated_relations":
|
|
9fca0140 | Marc Dequènes (Duck) | type: seq
|
|
sequence:
|
|||
- type: str
|
|||
428fdd46 | Marc Dequènes (Duck) | "associated_attributes":
|
|
9fca0140 | Marc Dequènes (Duck) | type: seq
|
|
sequence:
|
|||
- type: str
|
|||
c3bd9816 | Marc Dequènes (Duck) | "ignored_attributes":
|
|
type: seq
|
|||
sequence:
|
|||
- type: str
|
|||
428fdd46 | Marc Dequènes (Duck) | "associate_unclaimed_attributes": {type: bool}
|
|
ea386896 | Marc Dequènes (Duck) | "interface":
|
|
6938ac96 | Marc Dequènes (Duck) | type: map
|
|
mapping:
|
|||
ea386896 | Marc Dequènes (Duck) | "attributes":
|
|
type: map
|
|||
mapping:
|
|||
=: &attrdata
|
|||
type: map
|
|||
mapping:
|
|||
"access": {type: str, enum: [full, read_only, write_only, forbidden]}
|
|||
"visibility": {type: str, enum: [always, expert, admin, never]}
|
|||
"presentation_multiple": {type: str, enum: [list, shortlist]}
|
|||
"possible_values":
|
|||
type: seq
|
|||
sequence:
|
|||
- type: scalar
|
|||
"attribute_defaults": *attrdata
|
|||
9fca0140 | Marc Dequènes (Duck) | "relations":
|
|
type: map
|
|||
mapping:
|
|||
=:
|
|||
type: map
|
|||
name: RelationMapping
|
|||
mapping:
|
|||
"type": {type: str, required: true, enum: [belongs_to, has_many]}
|
|||
"object": {type: str, required: true}
|
|||
98217996 | Marc Dequènes (Duck) | "foreign_key": {type: str}
|
|
9fca0140 | Marc Dequènes (Duck) | "many": {type: str}
|
|
"primary_key": {type: str}
|
|||
796cdc02 | Marc Dequènes (Duck) | "wrap": {type: str}
|
|
953a2b4d | Marc Dequènes (Duck) | "plugin":
|
|
type: map
|
|||
mapping:
|
|||
=: {type: any}
|