Skip to content

problème de rendu des champs #103

@tacxou

Description

@tacxou
Image
{
    "statusCode": 200,
    "data": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
            "cn": {
                "type": "string",
                "description": "Common name of the inetOrgPerson."
            },
            "sn": {
                "type": "string",
                "description": "Surname of the inetOrgPerson."
            },
            "uid": {
                "type": "string",
                "maxLength": 20,
                "description": "UID of the inetOrgPerson."
            },
            "displayName": {
                "type": "string",
                "description": "Display name of the inetOrgPerson."
            },
            "facsimileTelephoneNumber": {
                "type": "string",
                "description": "Facsimile telephone number of the inetOrgPerson."
            },
            "givenName": {
                "type": "string",
                "description": "Given name of the inetOrgPerson."
            },
            "labeledURI": {
                "type": "string",
                "description": "URI associated with the inetOrgPerson."
            },
            "mail": {
                "type": "string",
                "format": "email",
                "description": "Email address of the inetOrgPerson."
            },
            "mobile": {
                "type": "string",
                "description": "Mobile number of the inetOrgPerson."
            },
            "postalAddress": {
                "type": "string",
                "description": "Postal address of the inetOrgPerson."
            },
            "preferredLanguage": {
                "type": "string",
                "description": "Preferred language of the inetOrgPerson."
            },
            "telephoneNumber": {
                "type": "string",
                "description": "Telephone number of the inetOrgPerson."
            },
            "title": {
                "type": "string",
                "description": "Title of the inetOrgPerson."
            },
            "userCertificate": {
                "type": "string",
                "description": "User certificate of the inetOrgPerson."
            },
            "userPassword": {
                "type": "string",
                "description": "User password of the inetOrgPerson."
            }
        },
        "required": [
            "cn",
            "sn",
            "uid"
        ]
    }
}```

```json
{
    "statusCode": 200,
    "data": {
        "type": "Group",
        "label": "Identité",
        "elements": [
            {
                "type": "HorizontalLayout",
                "elements": [
                    {
                        "type": "Control",
                        "label": "UID",
                        "scope": "#/properties/uid",
                        "options": {
                            "required": true
                        }
                    },
                    {
                        "type": "Control",
                        "label": "CN",
                        "scope": "#/properties/cn",
                        "options": {
                            "required": true,
                            "readOnly": false
                        }
                    },
                    {
                        "type": "Control",
                        "label": "Nom",
                        "scope": "#/properties/sn",
                        "options": {
                            "readOnly": false,
                            "required": true
                        }
                    }
                ]
            },
            {
                "type": "HorizontalLayout",
                "elements": [
                    {
                        "type": "Control",
                        "label": "Nom d'affichage",
                        "scope": "#/properties/displayName",
                        "options": {
                            "readOnly": false,
                            "required": true
                        }
                    },
                    {
                        "type": "Control",
                        "label": "Prénom",
                        "scope": "#/properties/givenName",
                        "options": {
                            "readOnly": false,
                            "required": true
                        }
                    }
                ]
            },
            {
                "type": "HorizontalLayout",
                "elements": [
                    {
                        "type": "Control",
                        "label": "Email",
                        "scope": "#/properties/mail",
                        "options": {
                            "format": "email"
                        }
                    },
                    {
                        "type": "Control",
                        "label": "Mobile",
                        "scope": "#/properties/mobile",
                        "options": {
                            "readOnly": true
                        }
                    },
                    {
                        "type": "Control",
                        "label": "Téléphone",
                        "scope": "#/properties/telephoneNumber",
                        "options": {
                            "readOnly": true
                        }
                    }
                ]
            },
            {
                "type": "HorizontalLayout",
                "elements": [
                    {
                        "type": "Control",
                        "label": "Adresse postale",
                        "scope": "#/properties/postalAddress",
                        "options": {
                            "readOnly": true
                        }
                    },
                    {
                        "type": "Control",
                        "label": "language préféré",
                        "scope": "#/properties/preferredLanguage",
                        "options": {
                            "required": false,
                            "suggestion": [
                                "FR",
                                "EN",
                                "DE",
                                "IT"
                            ]
                        }
                    }
                ]
            },
            {
                "type": "HorizontalLayout",
                "elements": [
                    {
                        "type": "Control",
                        "label": "Titre",
                        "scope": "#/properties/title"
                    },
                    {
                        "type": "Control",
                        "label": "Affectation",
                        "scope": "#/properties/departmentNumber",
                        "options": {
                            "required": true,
                            "readOnly": false,
                            "suggestion": [
                                "adm",
                                "etd",
                                "esn",
                                "pri"
                            ]
                        }
                    },
                    {
                        "type": "Control",
                        "label": "EmployeeType",
                        "scope": "#/properties/employeeType",
                        "options": {
                            "readOnly": true
                        }
                    }
                ]
            },
            {
                "type": "HorizontalLayout",
                "elements": [
                    {
                        "type": "Control",
                        "label": "Photo",
                        "scope": "#/properties/jpegPhoto",
                        "options": {
                            "format": "file",
                            "storage": "picture"
                        }
                    }
                ]
            }
        ]
    },
    "file": "inetOrgPerson.ui"
}```

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions