root/data/ldap_shadows/schema/aspect.yaml @ 88b0bbce
9fca0140 | Marc Dequènes (Duck) | ---
|
|
type: map
|
|||
mapping:
|
|||
"mapping":
|
|||
type: map
|
|||
required: true
|
|||
name: Mapping
|
|||
mapping:
|
|||
"classes":
|
|||
type: seq
|
|||
sequence:
|
|||
- type: str
|
|||
"depend_aspects":
|
|||
type: seq
|
|||
sequence:
|
|||
- type: str
|
|||
"presentation":
|
|||
type: map
|
|||
mapping:
|
|||
"associated_attributes":
|
|||
type: seq
|
|||
sequence:
|
|||
- type: str
|
|||
"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}
|