Project

General

Profile

Download (1.47 KB) Statistics
| Branch: | Tag: | Revision:
---
type: map
mapping:
"mapping":
type: map
required: true
name: Mapping
mapping:
"classes":
type: seq
required: true
sequence:
- type: str
"depend_aspects":
type: seq
sequence:
- type: str
"associated_relations":
type: seq
sequence:
- type: str
"associated_attributes":
type: seq
sequence:
- type: str
"associate_unclaimed_attributes": {type: bool}
"interface":
type: map
mapping:
"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}

(1-1/5)