type: object properties: id: type: number nom: type: string agence: $ref: ./agence.yaml required: - id - nom - agence