|
---
|
|
type: map
|
|
mapping:
|
|
"mapping":
|
|
type: map
|
|
required: true
|
|
name: ObjectMapping
|
|
mapping:
|
|
"possible_aspects":
|
|
type: seq
|
|
sequence:
|
|
- type: str
|
|
"associated_relations":
|
|
type: seq
|
|
sequence:
|
|
- type: str
|
|
"associated_attributes":
|
|
type: seq
|
|
sequence:
|
|
- type: str
|
|
"parent_handle_restrictions": {type: str}
|
|
"parent_dn_restrictions": {type: str}
|
|
"default_parent": {type: str}
|
|
=: {type: any}
|
|
"interface":
|
|
type: map
|
|
mapping:
|
|
"name_attribute": {type: str}
|
|
"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
|
|
"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}
|
|
"many": {type: str}
|
|
"primary_key": {type: str}
|
|
"wrap": {type: str}
|
|
"plugin":
|
|
type: map
|
|
mapping:
|
|
=: {type: any}
|
|
|